Skip to content

#955ff7

a light, electric violet · cool · closest name: Medium Slate Blue

RGB
149, 95, 247
HSL
261°, 91%, 67%
CMYK
40, 62, 0, 3
Luminance
0.2129

At a glance

Every number on this page in one read: what #955ff7 is made of, how bright it looks, and which way it leans.

Hex
#955ff7
Hue
261°
violet
Saturation
91%
electric
Lightness
67%
light
Brightness
97%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2129
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.26:1
Closest name
Medium Slate Blue
ΔE2000 5.1
Where it sits
Hue261° of 360°
Saturation91%
Lightness67%
Temperature
Warm ← → Cool72% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#955ff7
RGBrgb(149, 95, 247)
HSLhsl(261, 91%, 67%)
CMYKcmyk(40%, 62%, 0%, 3%)
LABlab(53.3 53.8 -68.5)
LCHlch(53.3 87.1 308.2)
OKLCHoklch(0.620 0.217 295.8)
Decimal9789431
Display P3color(display-p3 0.584 0.373 0.969)

Copy-ready code

/* CSS */
color: #955ff7;
background-color: #955ff7;
/* Tailwind (arbitrary) */
class="text-[#955ff7] bg-[#955ff7]"
/* SCSS */
$brand: #955ff7;
/* SwiftUI */
Color(red: 0.584, green: 0.373, blue: 0.969)
/* Android */
Color.parseColor("#955ff7")
/* Flutter */
Color(0xFF955FF7)
/* Python / OpenCV (BGR) */
(247, 95, 149)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #955ff7 · 5.26:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.99:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.26:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #955ff7 as text scores 3.99:1 on white and 5.26:1 on black.

Accessibility — WCAG contrast

Aa
#955ff7 on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#955ff7 on black: 5.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0080FC
deuteranopia · #007DF4
tritanopia · #7C81A2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #955ff7 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6F2FD
#ECE5FB
#D6C3F9
#B894FA
#955ff7
#7129F4
#5A0CE9
#4B0AC2
#3C089B
#2E0A70
#1D0646
Base = 400Lightest = 50 · #F6F2FDDarkest = 950 · #1D0646
:root {
  --brand-50: #F6F2FD;
  --brand-100: #ECE5FB;
  --brand-200: #D6C3F9;
  --brand-300: #B894FA;
  --brand-400: #955ff7;
  --brand-500: #7129F4;
  --brand-600: #5A0CE9;
  --brand-700: #4B0AC2;
  --brand-800: #3C089B;
  --brand-900: #2E0A70;
  --brand-950: #1D0646;
  --brand: #955ff7;
  --brand-ink: #000000;
}

Colors that work with #955ff7

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F6F4FA
Tinted page background
Border#D0C0ED
Hairlines and dividers
Muted text#674B9B
Captions on the surface
Accent#B2C606
Second voice, not a rival
Dark variant#2F0679
Hover, pressed, headers
Light variant#EFE7FE
Selected rows, tints
Dark surface#1A1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #955ff7

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#C1F75F
Analogous left#5F75F7
Analogous right#E15FF7
Split-complement 1#F7E15F
Split-complement 2#75F75F
Triadic 1#F7955F
Triadic 2#5FF795
Tetradic#F75F75

RGB percentages

Red58.4%
Green37.3%
Blue96.9%

CMYK percentages

Cyan39.7%
Magenta61.5%
Yellow0.0%
Key (black)3.1%

Color previews

#955ff7 text on a black background

contrast 5.26:1

Card sample

#955ff7 text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #955ff7;
Background color
Panel with #955ff7 background
background-color: #955ff7;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #955ff7;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(149, 95, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 95, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #955ff7;
background: linear-gradient(135deg, #955ff7, #F75FF4);

Monochromatic scale

Palettes built from #955ff7

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#955ff7 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#955ff7, answered

What color is #955ff7?

#955ff7 is a light electric violet, closest to Medium Slate Blue (ΔE2000 5.1). It sits at 261° on the hue wheel with 91% saturation and 67% lightness, which reads as cool.

What is the RGB value of #955ff7?

rgb(149, 95, 247) — 149 red, 95 green and 247 blue out of 255, or 58.4% / 37.3% / 96.9% by channel.

Is #955ff7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2129 and perceived brightness is 54%, so black text on it reaches 5.26:1.

Should I use black or white text on #955ff7?

Black. It scores 5.26:1 against #955ff7, versus 3.99:1 for white — AA at any size.

What is the complementary color of #955ff7?

#C1F75F sits directly opposite on the wheel. Softer options are the split-complements #F7E15F and #75F75F, which give the same contrast with far less vibration.

What colors go well with #955ff7?

For interface work: #F6F4FA as the surface, #D0C0ED for borders, #674B9B for secondary text, #B2C606 as an accent and #2F0679 for hover and pressed states. For a palette, the analogous pair #5F75F7 and #E15FF7 stays calm, while #C1F75F is the loudest partner.

What is #955ff7 in CMYK for printing?

cmyk(40%, 62%, 0%, 3%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #955ff7 warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD5FF7; nudged cooler, #5E5FF9.

Work with #955ff7 in the Color Lab