#9767C8#9767C8
#9767C8 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.5% C 0.149 H 305.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9767C8 |
|---|---|
| RGB | rgb(151, 103, 200) |
| HSL | hsl(270, 47%, 59%) |
| HSV | hsv(270, 49%, 78%) |
| CMYK | cmyk(24.5%, 48.5%, 0%, 21.6%) |
| CIE-LAB | lab(52.34, 38.26, -43.45) |
| CIE-LCH | lch(52.34, 57.89, 311.36°) |
| OKLab | oklab(60.49% 0.086 -0.1217) |
| OKLCH | oklch(60.49% 0.149 305.2) |
| XYZ | xyz(28.0359, 20.4501, 57.1027) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.90
Deep Lilac
#966EBD
ΔE00 3.21
Deep Lavender
#8D5EB7
ΔE00 4.17
Mediumpurple
#9370DB
ΔE00 4.48
Lightish Purple
#A552E6
ΔE00 6.68
Soft Purple
#A66FB5
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9767C8 #98C867
analogous
#6768C8 #9767C8 #C867C8
triadic
#9767C8 #C89767 #67C897
tetradic
#9767C8 #C86768 #98C867 #67C8C8
square
#9767C8 #C86768 #98C867 #67C8C8
split-complementary
#9767C8 #C8C867 #68C867
monochromatic
#5A3085 #7840B2 #9767C8 #B694D8 #D4C1E9
Accessibility & contrast
On white
4.13
#9767C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#9767C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9767C8
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9767C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9767C8 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C7BCB
Deuteranopia (green-blind)
#587DC6
Tritanopia (blue-blind)
#8F788E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9767c8; /* rgb */ color: rgb(151, 103, 200); /* oklch */ color: oklch(60.5% 0.149 305.2);
Tailwind
colors: {
custom: {
50: '#b893d9',
500: '#9767c8',
950: '#000000',
},
}SCSS
$custom: #9767c8; $custom-light: #b893d9; $custom-dark: #000000;
JSON
{
"hex": "#9767c8",
"rgb": {
"r": 151,
"g": 103,
"b": 200
},
"hsl": {
"h": 269.691,
"s": 46.86,
"l": 59.412
},
"oklch": {
"l": 0.60492,
"c": 0.14901,
"h": 305.2
},
"luminance": 0.2045
}Semantic roles & 50–950 ramp
primary
#9767C8
secondary
#C6D8B3
accent
#D65195
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#120D15
muted
#817E83