#9566CF#9566CF
#9566CF is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.5% C 0.159 H 302.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9566CF |
|---|---|
| RGB | rgb(149, 102, 207) |
| HSL | hsl(267, 52%, 61%) |
| HSV | hsv(267, 51%, 81%) |
| CMYK | cmyk(28%, 50.7%, 0%, 18.8%) |
| CIE-LAB | lab(52.28, 39.97, -47.56) |
| CIE-LCH | lch(52.28, 62.12, 310.04°) |
| OKLab | oklab(60.52% 0.0855 -0.1337) |
| OKLCH | oklch(60.52% 0.159 302.6) |
| XYZ | xyz(28.4058, 20.3973, 61.4600) |
| Luminance | 0.2040 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.64
Amethyst
#9B5FC0
ΔE00 3.81
Deep Lilac
#966EBD
ΔE00 4.50
Deep Lavender
#8D5EB7
ΔE00 4.80
Lightish Purple
#A552E6
ΔE00 5.87
Lighter Purple
#A55AF4
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9566CF #A0CF66
analogous
#666BCF #9566CF #C966CF
triadic
#9566CF #CF9566 #66CF95
tetradic
#9566CF #CF666B #A0CF66 #66CFC9
square
#9566CF #CF666B #A0CF66 #66CFC9
split-complementary
#9566CF #CFC966 #6BCF66
monochromatic
#582D8E #753BBD #9566CF #B595DE #D6C3EC
Accessibility & contrast
On white
4.13
#9566CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#9566CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9566CF
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9566CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9566CF | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#447CD3
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#8A7991
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9566cf; /* rgb */ color: rgb(149, 102, 207); /* oklch */ color: oklch(60.5% 0.159 302.6);
Tailwind
colors: {
custom: {
50: '#b793de',
500: '#9566cf',
950: '#000000',
},
}SCSS
$custom: #9566cf; $custom-light: #b793de; $custom-dark: #000000;
JSON
{
"hex": "#9566cf",
"rgb": {
"r": 149,
"g": 102,
"b": 207
},
"hsl": {
"h": 266.857,
"s": 52.239,
"l": 60.588
},
"oklch": {
"l": 0.60521,
"c": 0.15875,
"h": 302.6
},
"luminance": 0.20397
}Semantic roles & 50–950 ramp
primary
#9566CF
secondary
#CADCB4
accent
#C0267B
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83