#952FCE#952FCE
#952FCE is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.5% C 0.231 H 309.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #952FCE |
|---|---|
| RGB | rgb(149, 47, 206) |
| HSL | hsl(278, 63%, 50%) |
| HSV | hsv(278, 77%, 81%) |
| CMYK | cmyk(27.7%, 77.2%, 0%, 19.2%) |
| CIE-LAB | lab(42.58, 65.92, -62.58) |
| CIE-LCH | lch(42.58, 90.89, 316.49°) |
| OKLab | oklab(53.48% 0.1476 -0.1776) |
| OKLCH | oklch(53.48% 0.231 309.7) |
| XYZ | xyz(24.5493, 12.8793, 59.5733) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.05
Blueviolet
#8A2BE2
ΔE00 3.53
Darkviolet
#9400D3
ΔE00 3.62
Violet (survey)
#9A0EEA
ΔE00 3.84
Vibrant Purple
#AD03DE
ΔE00 4.04
Purply
#983FB2
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952FCE #68CE2F
analogous
#462FCE #952FCE #CE2FB7
triadic
#952FCE #CE952F #2FCE95
tetradic
#952FCE #CE462F #68CE2F #2FB7CE
square
#952FCE #CE462F #68CE2F #2FB7CE
split-complementary
#952FCE #B7CE2F #2FCE46
monochromatic
#4D186A #71249C #952FCE #AF60DB #C891E6
Accessibility & contrast
On white
5.87
#952FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#952FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #952FCE
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952FCE | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#8D567E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #952fce; /* rgb */ color: rgb(149, 47, 206); /* oklch */ color: oklch(53.5% 0.231 309.7);
Tailwind
colors: {
custom: {
50: '#b973de',
500: '#952fce',
950: '#000000',
},
}SCSS
$custom: #952fce; $custom-light: #b973de; $custom-dark: #000000;
JSON
{
"hex": "#952fce",
"rgb": {
"r": 149,
"g": 47,
"b": 206
},
"hsl": {
"h": 278.491,
"s": 62.846,
"l": 49.608
},
"oklch": {
"l": 0.53477,
"c": 0.23088,
"h": 309.7
},
"luminance": 0.12879
}Semantic roles & 50–950 ramp
primary
#952FCE
secondary
#A2D188
accent
#E6427D
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83