#9251CE#9251CE
#9251CE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.0% C 0.189 H 305.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9251CE |
|---|---|
| RGB | rgb(146, 81, 206) |
| HSL | hsl(271, 56%, 56%) |
| HSV | hsv(271, 61%, 81%) |
| CMYK | cmyk(29.1%, 60.7%, 0%, 19.2%) |
| CIE-LAB | lab(47.56, 50.33, -54.55) |
| CIE-LCH | lch(47.56, 74.22, 312.69°) |
| OKLab | oklab(56.96% 0.1085 -0.1543) |
| OKLCH | oklch(56.96% 0.189 305.1) |
| XYZ | xyz(25.9346, 16.4522, 60.1899) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.42
Lightish Purple
#A552E6
ΔE00 4.75
Deep Lavender
#8D5EB7
ΔE00 5.20
Amethyst
#9B5FC0
ΔE00 5.27
Darkorchid
#9932CC
ΔE00 5.85
Purply
#983FB2
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9251CE #8DCE51
analogous
#5451CE #9251CE #CE51CC
triadic
#9251CE #CE9251 #51CE92
tetradic
#9251CE #CE5451 #8DCE51 #51CCCE
square
#9251CE #CE5451 #8DCE51 #51CCCE
split-complementary
#9251CE #CCCE51 #51CE54
monochromatic
#542480 #7332B0 #9251CE #B081DB #CEB1E9
Accessibility & contrast
On white
4.89
#9251CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#9251CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9251CE
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9251CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9251CE | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D6FD2
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#876A88
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9251ce; /* rgb */ color: rgb(146, 81, 206); /* oklch */ color: oklch(57.0% 0.189 305.1);
Tailwind
colors: {
custom: {
50: '#b685de',
500: '#9251ce',
950: '#000000',
},
}SCSS
$custom: #9251ce; $custom-light: #b685de; $custom-dark: #000000;
JSON
{
"hex": "#9251ce",
"rgb": {
"r": 146,
"g": 81,
"b": 206
},
"hsl": {
"h": 271.2,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.56956,
"c": 0.1886,
"h": 305.1
},
"luminance": 0.16452
}Semantic roles & 50–950 ramp
primary
#9251CE
secondary
#BCD7A4
accent
#DF4891
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83