#9562CF#9562CF
#9562CF is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.9% C 0.165 H 303.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9562CF |
|---|---|
| RGB | rgb(149, 98, 207) |
| HSL | hsl(268, 53%, 60%) |
| HSV | hsv(268, 53%, 81%) |
| CMYK | cmyk(28%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(51.42, 42.19, -48.94) |
| CIE-LCH | lch(51.42, 64.62, 310.77°) |
| OKLab | oklab(59.88% 0.0908 -0.1378) |
| OKLCH | oklch(59.88% 0.165 303.4) |
| XYZ | xyz(28.0221, 19.6300, 61.3321) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.40
Deep Lavender
#8D5EB7
ΔE00 4.37
Mediumpurple
#9370DB
ΔE00 4.58
Lightish Purple
#A552E6
ΔE00 5.10
Deep Lilac
#966EBD
ΔE00 5.25
Purpley
#8756E4
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9562CF #9CCF62
analogous
#6266CF #9562CF #CB62CF
triadic
#9562CF #CF9562 #62CF95
tetradic
#9562CF #CF6266 #9CCF62 #62CFCB
square
#9562CF #CF6266 #9CCF62 #62CFCB
split-complementary
#9562CF #CFCB62 #66CF62
monochromatic
#582B8C #7639BB #9562CF #B591DD #D4C0EC
Accessibility & contrast
On white
4.26
#9562CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#9562CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9562CF
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9562CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9562CF | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D79D3
Deuteranopia (green-blind)
#4D7ACC
Tritanopia (blue-blind)
#8B768F
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #9562cf; /* rgb */ color: rgb(149, 98, 207); /* oklch */ color: oklch(59.9% 0.165 303.4);
Tailwind
colors: {
custom: {
50: '#b790de',
500: '#9562cf',
950: '#000000',
},
}SCSS
$custom: #9562cf; $custom-light: #b790de; $custom-dark: #000000;
JSON
{
"hex": "#9562cf",
"rgb": {
"r": 149,
"g": 98,
"b": 207
},
"hsl": {
"h": 268.073,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.59878,
"c": 0.16503,
"h": 303.4
},
"luminance": 0.1963
}Semantic roles & 50–950 ramp
primary
#9562CF
secondary
#C8DBB1
accent
#DD4B99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120D15
muted
#817D83