#9051E2#9051E2
#9051E2 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.211 H 299.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9051E2 |
|---|---|
| RGB | rgb(144, 81, 226) |
| HSL | hsl(266, 71%, 60%) |
| HSV | hsv(266, 64%, 89%) |
| CMYK | cmyk(36.3%, 64.2%, 0%, 11.4%) |
| CIE-LAB | lab(48.64, 54.73, -64.23) |
| CIE-LCH | lch(48.64, 84.38, 310.44°) |
| OKLab | oklab(58.1% 0.1047 -0.1828) |
| OKLCH | oklch(58.1% 0.211 299.8) |
| XYZ | xyz(28.1681, 17.3049, 73.7929) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.97
Lightish Purple
#A552E6
ΔE00 3.96
Lighter Purple
#A55AF4
ΔE00 5.35
Electric Purple
#AA23FF
ΔE00 6.59
Light Indigo
#6D5ACF
ΔE00 7.00
Darkorchid
#9932CC
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9051E2 #A3E251
analogous
#515AE2 #9051E2 #D951E2
triadic
#9051E2 #E29051 #51E290
tetradic
#9051E2 #E2515A #A3E251 #51E2D9
square
#9051E2 #E2515A #A3E251 #51E2D9
split-complementary
#9051E2 #E2D951 #5AE251
monochromatic
#541A9E #6F23D3 #9051E2 #B185EB #D3BAF3
Accessibility & contrast
On white
4.71
#9051E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#9051E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9051E2
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9051E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9051E2 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#7E7292
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9051e2; /* rgb */ color: rgb(144, 81, 226); /* oklch */ color: oklch(58.1% 0.211 299.8);
Tailwind
colors: {
custom: {
50: '#b685ec',
500: '#9051e2',
950: '#000000',
},
}SCSS
$custom: #9051e2; $custom-light: #b685ec; $custom-dark: #000000;
JSON
{
"hex": "#9051e2",
"rgb": {
"r": 144,
"g": 81,
"b": 226
},
"hsl": {
"h": 266.069,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.58103,
"c": 0.2106,
"h": 299.8
},
"luminance": 0.17305
}Semantic roles & 50–950 ramp
primary
#9051E2
secondary
#CBE3AC
accent
#D3127F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84