#9F56CB#9F56CB
#9F56CB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.9% C 0.182 H 310.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9F56CB |
|---|---|
| RGB | rgb(159, 86, 203) |
| HSL | hsl(277, 53%, 57%) |
| HSV | hsv(277, 58%, 80%) |
| CMYK | cmyk(21.7%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(49.90, 50.21, -48.99) |
| CIE-LCH | lch(49.90, 70.15, 315.70°) |
| OKLab | oklab(58.95% 0.1189 -0.1376) |
| OKLCH | oklch(58.95% 0.182 310.8) |
| XYZ | xyz(28.4034, 18.3389, 58.5318) |
| Luminance | 0.1834 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.94
Lightish Purple
#A552E6
ΔE00 4.08
Deep Lavender
#8D5EB7
ΔE00 4.76
Mediumorchid
#BA55D3
ΔE00 5.18
Lighter Purple
#A55AF4
ΔE00 6.36
Purpley
#8756E4
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F56CB #82CB56
analogous
#6556CB #9F56CB #CB56BD
triadic
#9F56CB #CB9F56 #56CB9F
tetradic
#9F56CB #CB6556 #82CB56 #56BDCB
square
#9F56CB #CB6556 #82CB56 #56BDCB
split-complementary
#9F56CB #BDCB56 #56CB65
monochromatic
#5E277F #8136AE #9F56CB #BA85D9 #D4B4E8
Accessibility & contrast
On white
4.50
#9F56CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#9F56CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F56CB
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F56CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F56CB | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#9A6B88
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9f56cb; /* rgb */ color: rgb(159, 86, 203); /* oklch */ color: oklch(58.9% 0.182 310.8);
Tailwind
colors: {
custom: {
50: '#be89db',
500: '#9f56cb',
950: '#000000',
},
}SCSS
$custom: #9f56cb; $custom-light: #be89db; $custom-dark: #000000;
JSON
{
"hex": "#9f56cb",
"rgb": {
"r": 159,
"g": 86,
"b": 203
},
"hsl": {
"h": 277.436,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.58949,
"c": 0.18184,
"h": 310.8
},
"luminance": 0.18338
}Semantic roles & 50–950 ramp
primary
#9F56CB
secondary
#B8D6A6
accent
#DC4B82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83