#951F96#951F96
#951F96 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.199 H 327.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #951F96 |
|---|---|
| RGB | rgb(149, 31, 150) |
| HSL | hsl(299, 66%, 35%) |
| HSV | hsv(299, 79%, 59%) |
| CMYK | cmyk(0.7%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(37.06, 60.46, -38.26) |
| CIE-LCH | lch(37.06, 71.55, 327.68°) |
| OKLab | oklab(48.39% 0.1683 -0.1062) |
| OKLCH | oklch(48.39% 0.199 327.7) |
| XYZ | xyz(18.3892, 9.5729, 29.7275) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.07
Warm Purple
#952E8F
ΔE00 2.64
Darkmagenta
#8B008B
ΔE00 3.71
Purple (survey)
#7E1E9C
ΔE00 5.30
Purple
#800080
ΔE00 5.90
Barney
#AC1DB8
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F96 #20961F
analogous
#591F96 #951F96 #961F5B
triadic
#951F96 #96951F #1F9695
tetradic
#951F96 #96591F #20961F #1F5B96
square
#951F96 #96591F #20961F #1F5B96
split-complementary
#951F96 #5B961F #1F9659
monochromatic
#300A31 #631563 #951F96 #C729C9 #DA54DC
Accessibility & contrast
On white
7.21
#951F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#951F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F96
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F96 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#415C93
Tritanopia (blue-blind)
#9A345B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #951f96; /* rgb */ color: rgb(149, 31, 150); /* oklch */ color: oklch(48.4% 0.199 327.7);
Tailwind
colors: {
custom: {
50: '#b86ab5',
500: '#951f96',
950: '#000000',
},
}SCSS
$custom: #951f96; $custom-light: #b86ab5; $custom-dark: #000000;
JSON
{
"hex": "#951f96",
"rgb": {
"r": 149,
"g": 31,
"b": 150
},
"hsl": {
"h": 299.496,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.4839,
"c": 0.19898,
"h": 327.7
},
"luminance": 0.09572
}Semantic roles & 50–950 ramp
primary
#951F96
secondary
#53BF52
accent
#E93F41
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80