#9A62E4#9A62E4
#9A62E4 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.7% C 0.191 H 300.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9A62E4 |
|---|---|
| RGB | rgb(154, 98, 228) |
| HSL | hsl(266, 71%, 64%) |
| HSV | hsv(266, 57%, 89%) |
| CMYK | cmyk(32.5%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(53.17, 48.56, -57.99) |
| CIE-LCH | lch(53.17, 75.64, 309.94°) |
| OKLab | oklab(61.69% 0.0979 -0.1642) |
| OKLCH | oklch(61.69% 0.191 300.8) |
| XYZ | xyz(31.6944, 21.2067, 75.8073) |
| Luminance | 0.2121 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.97
Lightish Purple
#A552E6
ΔE00 3.85
Mediumpurple
#9370DB
ΔE00 4.19
Purpley
#8756E4
ΔE00 4.99
Light Urple
#B36FF6
ΔE00 6.09
Amethyst
#9B5FC0
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A62E4 #ACE462
analogous
#626BE4 #9A62E4 #DB62E4
triadic
#9A62E4 #E49A62 #62E49A
tetradic
#9A62E4 #E4626B #ACE462 #62E4DB
square
#9A62E4 #E4626B #ACE462 #62E4DB
split-complementary
#9A62E4 #E4DB62 #6BE462
monochromatic
#5C1EAE #782EDB #9A62E4 #BC96ED #DDCAF6
Accessibility & contrast
On white
4.01
#9A62E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#9A62E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A62E4
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A62E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A62E4 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#257EE8
Deuteranopia (green-blind)
#3D7EE1
Tritanopia (blue-blind)
#8B7C9A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9a62e4; /* rgb */ color: rgb(154, 98, 228); /* oklch */ color: oklch(61.7% 0.191 300.8);
Tailwind
colors: {
custom: {
50: '#bc91ed',
500: '#9a62e4',
950: '#000000',
},
}SCSS
$custom: #9a62e4; $custom-light: #bc91ed; $custom-dark: #000000;
JSON
{
"hex": "#9a62e4",
"rgb": {
"r": 154,
"g": 98,
"b": 228
},
"hsl": {
"h": 265.846,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.61689,
"c": 0.19113,
"h": 300.8
},
"luminance": 0.21207
}Semantic roles & 50–950 ramp
primary
#9A62E4
secondary
#D4E8BA
accent
#D31380
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84