#9767CF#9767CF
#9767CF is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.9% C 0.158 H 303.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9767CF |
|---|---|
| RGB | rgb(151, 103, 207) |
| HSL | hsl(268, 52%, 61%) |
| HSV | hsv(268, 50%, 81%) |
| CMYK | cmyk(27.1%, 50.2%, 0%, 18.8%) |
| CIE-LAB | lab(52.71, 39.94, -46.86) |
| CIE-LCH | lch(52.71, 61.57, 310.44°) |
| OKLab | oklab(60.89% 0.0867 -0.1317) |
| OKLCH | oklch(60.89% 0.158 303.4) |
| XYZ | xyz(28.8728, 20.7848, 61.5102) |
| Luminance | 0.2079 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.56
Amethyst
#9B5FC0
ΔE00 3.75
Deep Lilac
#966EBD
ΔE00 4.21
Deep Lavender
#8D5EB7
ΔE00 5.01
Lightish Purple
#A552E6
ΔE00 5.97
Lighter Purple
#A55AF4
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9767CF #9FCF67
analogous
#676BCF #9767CF #CB67CF
triadic
#9767CF #CF9767 #67CF97
tetradic
#9767CF #CF676B #9FCF67 #67CFCB
square
#9767CF #CF676B #9FCF67 #67CFCB
split-complementary
#9767CF #CFCB67 #6BCF67
monochromatic
#5A2D8F #773CBD #9767CF #B796DE #D7C4EC
Accessibility & contrast
On white
4.07
#9767CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#9767CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9767CF
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9767CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9767CF | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#467DD3
Deuteranopia (green-blind)
#547ECC
Tritanopia (blue-blind)
#8D7A91
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9767cf; /* rgb */ color: rgb(151, 103, 207); /* oklch */ color: oklch(60.9% 0.158 303.4);
Tailwind
colors: {
custom: {
50: '#b893de',
500: '#9767cf',
950: '#000000',
},
}SCSS
$custom: #9767cf; $custom-light: #b893de; $custom-dark: #000000;
JSON
{
"hex": "#9767cf",
"rgb": {
"r": 151,
"g": 103,
"b": 207
},
"hsl": {
"h": 267.692,
"s": 52,
"l": 60.784
},
"oklch": {
"l": 0.60889,
"c": 0.15763,
"h": 303.4
},
"luminance": 0.20785
}Semantic roles & 50–950 ramp
primary
#9767CF
secondary
#CADDB5
accent
#BF2679
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83