#9A76F2#9A76F2
#9A76F2 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.7% C 0.179 H 294.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9A76F2 |
|---|---|
| RGB | rgb(154, 118, 242) |
| HSL | hsl(257, 83%, 71%) |
| HSV | hsv(257, 51%, 95%) |
| CMYK | cmyk(36.4%, 51.2%, 0%, 5.1%) |
| CIE-LAB | lab(58.26, 41.09, -57.67) |
| CIE-LCH | lch(58.26, 70.81, 305.47°) |
| OKLab | oklab(65.71% 0.0738 -0.1632) |
| OKLCH | oklch(65.71% 0.179 294.3) |
| XYZ | xyz(35.8277, 26.2370, 87.1638) |
| Luminance | 0.2624 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.86
Periwinkle (survey)
#8E82FE
ΔE00 4.93
Light Urple
#B36FF6
ΔE00 4.98
Lavender Blue
#8B88F8
ΔE00 6.70
Mediumslateblue
#7B68EE
ΔE00 6.71
Easter Purple
#C071FE
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A76F2 #CEF276
analogous
#7690F2 #9A76F2 #D876F2
triadic
#9A76F2 #F29A76 #76F29A
tetradic
#9A76F2 #F27690 #CEF276 #76F2D8
square
#9A76F2 #F27690 #CEF276 #76F2D8
split-complementary
#9A76F2 #F2D876 #90F276
monochromatic
#4E15D9 #713EED #9A76F2 #C3AEF7 #EAE3FC
Accessibility & contrast
On white
3.36
#9A76F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#9A76F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A76F2
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A76F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A76F2 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#858FA9
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9a76f2; /* rgb */ color: rgb(154, 118, 242); /* oklch */ color: oklch(65.7% 0.179 294.3);
Tailwind
colors: {
custom: {
50: '#bc9ef7',
500: '#9a76f2',
950: '#000000',
},
}SCSS
$custom: #9a76f2; $custom-light: #bc9ef7; $custom-dark: #000000;
JSON
{
"hex": "#9a76f2",
"rgb": {
"r": 154,
"g": 118,
"b": 242
},
"hsl": {
"h": 257.419,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.6571,
"c": 0.17912,
"h": 294.3
},
"luminance": 0.26238
}Semantic roles & 50–950 ramp
primary
#9A76F2
secondary
#E9F3D1
accent
#DF06A0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85