#9451CB#9451CB
#9451CB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.0% C 0.186 H 306.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9451CB |
|---|---|
| RGB | rgb(148, 81, 203) |
| HSL | hsl(273, 54%, 56%) |
| HSV | hsv(273, 60%, 80%) |
| CMYK | cmyk(27.1%, 60.1%, 0%, 20.4%) |
| CIE-LAB | lab(47.61, 50.09, -52.73) |
| CIE-LCH | lch(47.61, 72.73, 313.53°) |
| OKLab | oklab(56.99% 0.1112 -0.1489) |
| OKLCH | oklch(56.99% 0.186 306.7) |
| XYZ | xyz(25.9324, 16.4928, 58.3056) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.79
Lightish Purple
#A552E6
ΔE00 4.85
Deep Lavender
#8D5EB7
ΔE00 4.85
Purpley
#8756E4
ΔE00 5.07
Darkorchid
#9932CC
ΔE00 5.79
Purply
#983FB2
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9451CB #88CB51
analogous
#5751CB #9451CB #CB51C5
triadic
#9451CB #CB9451 #51CB94
tetradic
#9451CB #CB5751 #88CB51 #51C5CB
square
#9451CB #CB5751 #88CB51 #51C5CB
split-complementary
#9451CB #C5CB51 #51CB57
monochromatic
#55257C #7533AC #9451CB #B180D9 #CEAFE7
Accessibility & contrast
On white
4.89
#9451CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#9451CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9451CB
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9451CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9451CB | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#186FCF
Deuteranopia (green-blind)
#3B71C8
Tritanopia (blue-blind)
#8B6986
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9451cb; /* rgb */ color: rgb(148, 81, 203); /* oklch */ color: oklch(57.0% 0.186 306.7);
Tailwind
colors: {
custom: {
50: '#b785db',
500: '#9451cb',
950: '#000000',
},
}SCSS
$custom: #9451cb; $custom-light: #b785db; $custom-dark: #000000;
JSON
{
"hex": "#9451cb",
"rgb": {
"r": 148,
"g": 81,
"b": 203
},
"hsl": {
"h": 272.951,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.56987,
"c": 0.18578,
"h": 306.7
},
"luminance": 0.16493
}Semantic roles & 50–950 ramp
primary
#9451CB
secondary
#B9D5A3
accent
#DD4A8D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83