#9767D2#9767D2
#9767D2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.1% C 0.161 H 302.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9767D2 |
|---|---|
| RGB | rgb(151, 103, 210) |
| HSL | hsl(267, 54%, 61%) |
| HSV | hsv(267, 51%, 82%) |
| CMYK | cmyk(28.1%, 51%, 0%, 17.6%) |
| CIE-LAB | lab(52.88, 40.67, -48.31) |
| CIE-LCH | lch(52.88, 63.15, 310.09°) |
| OKLab | oklab(61.06% 0.087 -0.1359) |
| OKLCH | oklch(61.06% 0.161 302.6) |
| XYZ | xyz(29.2430, 20.9329, 63.4601) |
| Luminance | 0.2093 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.25
Amethyst
#9B5FC0
ΔE00 4.17
Deep Lilac
#966EBD
ΔE00 4.66
Deep Lavender
#8D5EB7
ΔE00 5.41
Lightish Purple
#A552E6
ΔE00 5.74
Lighter Purple
#A55AF4
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9767D2 #A2D267
analogous
#676DD2 #9767D2 #CD67D2
triadic
#9767D2 #D29767 #67D297
tetradic
#9767D2 #D2676D #A2D267 #67D2CD
square
#9767D2 #D2676D #A2D267 #67D2CD
split-complementary
#9767D2 #D2CD67 #6DD267
monochromatic
#5A2C93 #773AC2 #9767D2 #B796E0 #D8C5EE
Accessibility & contrast
On white
4.05
#9767D2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#9767D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9767D2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9767D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9767D2 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#8C7B93
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9767d2; /* rgb */ color: rgb(151, 103, 210); /* oklch */ color: oklch(61.1% 0.161 302.6);
Tailwind
colors: {
custom: {
50: '#b894e0',
500: '#9767d2',
950: '#000000',
},
}SCSS
$custom: #9767d2; $custom-light: #b894e0; $custom-dark: #000000;
JSON
{
"hex": "#9767d2",
"rgb": {
"r": 151,
"g": 103,
"b": 210
},
"hsl": {
"h": 266.916,
"s": 54.315,
"l": 61.373
},
"oklch": {
"l": 0.61062,
"c": 0.16133,
"h": 302.6
},
"luminance": 0.20933
}Semantic roles & 50–950 ramp
primary
#9767D2
secondary
#CCDEB6
accent
#C2247B
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83