#9060E2#9060E2
#9060E2 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.190 H 297.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9060E2 |
|---|---|
| RGB | rgb(144, 96, 226) |
| HSL | hsl(262, 69%, 63%) |
| HSV | hsv(262, 58%, 89%) |
| CMYK | cmyk(36.3%, 57.5%, 0%, 11.4%) |
| CIE-LAB | lab(51.59, 46.83, -59.46) |
| CIE-LCH | lch(51.59, 75.69, 308.22°) |
| OKLab | oklab(60.25% 0.0875 -0.1688) |
| OKLCH | oklch(60.25% 0.19 297.4) |
| XYZ | xyz(29.4085, 19.7856, 74.2064) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.24
Lighter Purple
#A55AF4
ΔE00 4.22
Lightish Purple
#A552E6
ΔE00 4.59
Mediumpurple
#9370DB
ΔE00 4.67
Mediumslateblue
#7B68EE
ΔE00 5.06
Amethyst
#9B5FC0
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9060E2 #B2E260
analogous
#6071E2 #9060E2 #D160E2
triadic
#9060E2 #E29060 #60E290
tetradic
#9060E2 #E26071 #B2E260 #60E2D1
square
#9060E2 #E26071 #B2E260 #60E2D1
split-complementary
#9060E2 #E2D160 #71E260
monochromatic
#521FA9 #6C2CD9 #9060E2 #B494EB #D8C8F5
Accessibility & contrast
On white
4.24
#9060E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#9060E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9060E2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9060E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9060E2 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#197BE6
Deuteranopia (green-blind)
#3079DF
Tritanopia (blue-blind)
#7D7B98
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9060e2; /* rgb */ color: rgb(144, 96, 226); /* oklch */ color: oklch(60.3% 0.190 297.4);
Tailwind
colors: {
custom: {
50: '#b58fec',
500: '#9060e2',
950: '#000000',
},
}SCSS
$custom: #9060e2; $custom-light: #b58fec; $custom-dark: #000000;
JSON
{
"hex": "#9060e2",
"rgb": {
"r": 144,
"g": 96,
"b": 226
},
"hsl": {
"h": 262.154,
"s": 69.149,
"l": 63.137
},
"oklch": {
"l": 0.60251,
"c": 0.19013,
"h": 297.4
},
"luminance": 0.19786
}Semantic roles & 50–950 ramp
primary
#9060E2
secondary
#D5E6B8
accent
#D1148B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84