#951F94#951F94
#951F94 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.197 H 328.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #951F94 |
|---|---|
| RGB | rgb(149, 31, 148) |
| HSL | hsl(301, 66%, 35%) |
| HSV | hsv(301, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 0.7%, 41.6%) |
| CIE-LAB | lab(36.95, 60.13, -37.22) |
| CIE-LCH | lch(36.95, 70.72, 328.24°) |
| OKLab | oklab(48.27% 0.1684 -0.1032) |
| OKLCH | oklch(48.27% 0.197 328.5) |
| XYZ | xyz(18.2295, 9.5090, 28.8865) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.05
Warm Purple
#952E8F
ΔE00 2.43
Darkmagenta
#8B008B
ΔE00 3.63
Purple (survey)
#7E1E9C
ΔE00 5.53
Purple
#800080
ΔE00 5.78
Barney
#AC1DB8
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F94 #1F9520
analogous
#5B1F95 #951F94 #951F59
triadic
#951F94 #94951F #1F9495
tetradic
#951F94 #955B1F #1F9520 #1F5995
square
#951F94 #955B1F #1F9520 #1F5995
split-complementary
#951F94 #59951F #1F955B
monochromatic
#300A2F #621462 #951F94 #C82AC6 #DB53DA
Accessibility & contrast
On white
7.24
#951F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#951F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F94
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F94 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#425C91
Tritanopia (blue-blind)
#9A3359
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #951f94; /* rgb */ color: rgb(149, 31, 148); /* oklch */ color: oklch(48.3% 0.197 328.5);
Tailwind
colors: {
custom: {
50: '#b86ab4',
500: '#951f94',
950: '#000000',
},
}SCSS
$custom: #951f94; $custom-light: #b86ab4; $custom-dark: #000000;
JSON
{
"hex": "#951f94",
"rgb": {
"r": 149,
"g": 31,
"b": 148
},
"hsl": {
"h": 300.508,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.48268,
"c": 0.19746,
"h": 328.5
},
"luminance": 0.09508
}Semantic roles & 50–950 ramp
primary
#951F94
secondary
#51BF52
accent
#E9413F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80