#951F93#951F93
#951F93 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.197 H 328.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #951F93 |
|---|---|
| RGB | rgb(149, 31, 147) |
| HSL | hsl(301, 66%, 35%) |
| HSV | hsv(301, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 1.3%, 41.6%) |
| CIE-LAB | lab(36.89, 59.97, -36.71) |
| CIE-LCH | lch(36.89, 70.31, 328.53°) |
| OKLab | oklab(48.21% 0.1684 -0.1017) |
| OKLCH | oklch(48.21% 0.197 328.9) |
| XYZ | xyz(18.1507, 9.4775, 28.4715) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.06
Warm Purple
#952E8F
ΔE00 2.34
Darkmagenta
#8B008B
ΔE00 3.60
Purple (survey)
#7E1E9C
ΔE00 5.64
Purple
#800080
ΔE00 5.73
Barney
#AC1DB8
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F93 #1F9521
analogous
#5C1F95 #951F93 #951F58
triadic
#951F93 #93951F #1F9395
tetradic
#951F93 #955C1F #1F9521 #1F5895
square
#951F93 #955C1F #1F9521 #1F5895
split-complementary
#951F93 #58951F #1F955C
monochromatic
#300A2F #621461 #951F93 #C82AC5 #DB53D9
Accessibility & contrast
On white
7.25
#951F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#951F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F93
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F93 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#014D96
Deuteranopia (green-blind)
#435C90
Tritanopia (blue-blind)
#9A3259
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #951f93; /* rgb */ color: rgb(149, 31, 147); /* oklch */ color: oklch(48.2% 0.197 328.9);
Tailwind
colors: {
custom: {
50: '#b86ab3',
500: '#951f93',
950: '#000000',
},
}SCSS
$custom: #951f93; $custom-light: #b86ab3; $custom-dark: #000000;
JSON
{
"hex": "#951f93",
"rgb": {
"r": 149,
"g": 31,
"b": 147
},
"hsl": {
"h": 301.017,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.48207,
"c": 0.1967,
"h": 328.9
},
"luminance": 0.09476
}Semantic roles & 50–950 ramp
primary
#951F93
secondary
#51BF53
accent
#E9423F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80