#9556E2#9556E2
#9556E2 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.205 H 301.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9556E2 |
|---|---|
| RGB | rgb(149, 86, 226) |
| HSL | hsl(267, 71%, 61%) |
| HSV | hsv(267, 62%, 89%) |
| CMYK | cmyk(34.1%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(50.14, 53.24, -61.78) |
| CIE-LCH | lch(50.14, 81.55, 310.75°) |
| OKLab | oklab(59.31% 0.1057 -0.1754) |
| OKLCH | oklch(59.31% 0.205 301.1) |
| XYZ | xyz(29.4464, 18.5360, 73.9632) |
| Luminance | 0.1854 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.65
Lightish Purple
#A552E6
ΔE00 2.86
Lighter Purple
#A55AF4
ΔE00 3.99
Amethyst
#9B5FC0
ΔE00 6.47
Mediumpurple
#9370DB
ΔE00 7.00
Mediumslateblue
#7B68EE
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9556E2 #A3E256
analogous
#565DE2 #9556E2 #DB56E2
triadic
#9556E2 #E29556 #56E295
tetradic
#9556E2 #E2565D #A3E256 #56E2DB
square
#9556E2 #E2565D #A3E256 #56E2DB
split-complementary
#9556E2 #E2DB56 #5DE256
monochromatic
#581CA2 #7525D6 #9556E2 #B68AEB #D7BEF4
Accessibility & contrast
On white
4.46
#9556E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#9556E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9556E2
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9556E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9556E2 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#2377DF
Tritanopia (blue-blind)
#857494
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9556e2; /* rgb */ color: rgb(149, 86, 226); /* oklch */ color: oklch(59.3% 0.205 301.1);
Tailwind
colors: {
custom: {
50: '#b989ec',
500: '#9556e2',
950: '#000000',
},
}SCSS
$custom: #9556e2; $custom-light: #b989ec; $custom-dark: #000000;
JSON
{
"hex": "#9556e2",
"rgb": {
"r": 149,
"g": 86,
"b": 226
},
"hsl": {
"h": 267,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.59312,
"c": 0.20478,
"h": 301.1
},
"luminance": 0.18536
}Semantic roles & 50–950 ramp
primary
#9556E2
secondary
#CDE4B0
accent
#D3137C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84