#9062CE#9062CE
#9062CE is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.3% C 0.163 H 301.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9062CE |
|---|---|
| RGB | rgb(144, 98, 206) |
| HSL | hsl(266, 52%, 60%) |
| HSV | hsv(266, 52%, 81%) |
| CMYK | cmyk(30.1%, 52.4%, 0%, 19.2%) |
| CIE-LAB | lab(50.83, 40.66, -49.34) |
| CIE-LCH | lch(50.83, 63.93, 309.49°) |
| OKLab | oklab(59.3% 0.0845 -0.1391) |
| OKLCH | oklch(59.3% 0.163 301.3) |
| XYZ | xyz(27.0073, 19.1208, 60.6484) |
| Luminance | 0.1912 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.00
Deep Lavender
#8D5EB7
ΔE00 4.21
Mediumpurple
#9370DB
ΔE00 4.59
Purpley
#8756E4
ΔE00 5.12
Deep Lilac
#966EBD
ΔE00 5.53
Lightish Purple
#A552E6
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9062CE #A0CE62
analogous
#626ACE #9062CE #C662CE
triadic
#9062CE #CE9062 #62CE90
tetradic
#9062CE #CE626A #A0CE62 #62CEC6
square
#9062CE #CE626A #A0CE62 #62CEC6
split-complementary
#9062CE #CEC662 #6ACE62
monochromatic
#542B8A #703AB9 #9062CE #B191DD #D2BFEB
Accessibility & contrast
On white
4.35
#9062CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#9062CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9062CE
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9062CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9062CE | 1.00 | 4.35 | 4.82 | 4.82 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C78D2
Deuteranopia (green-blind)
#4979CB
Tritanopia (blue-blind)
#84778F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9062ce; /* rgb */ color: rgb(144, 98, 206); /* oklch */ color: oklch(59.3% 0.163 301.3);
Tailwind
colors: {
custom: {
50: '#b390dd',
500: '#9062ce',
950: '#000000',
},
}SCSS
$custom: #9062ce; $custom-light: #b390dd; $custom-dark: #000000;
JSON
{
"hex": "#9062ce",
"rgb": {
"r": 144,
"g": 98,
"b": 206
},
"hsl": {
"h": 265.556,
"s": 52.427,
"l": 59.608
},
"oklch": {
"l": 0.59303,
"c": 0.16271,
"h": 301.3
},
"luminance": 0.19121
}Semantic roles & 50–950 ramp
primary
#9062CE
secondary
#C9DBB1
accent
#DC4C9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83