#9556E6#9556E6
#9556E6 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.209 H 300.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9556E6 |
|---|---|
| RGB | rgb(149, 86, 230) |
| HSL | hsl(266, 74%, 62%) |
| HSV | hsv(266, 63%, 90%) |
| CMYK | cmyk(35.2%, 62.6%, 0%, 9.8%) |
| CIE-LAB | lab(50.40, 54.22, -63.61) |
| CIE-LCH | lch(50.40, 83.58, 310.44°) |
| OKLab | oklab(59.59% 0.1054 -0.1808) |
| OKLCH | oklch(59.59% 0.209 300.2) |
| XYZ | xyz(30.0017, 18.7581, 76.8876) |
| Luminance | 0.1876 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.56
Lightish Purple
#A552E6
ΔE00 2.91
Lighter Purple
#A55AF4
ΔE00 3.68
Mediumslateblue
#7B68EE
ΔE00 6.86
Amethyst
#9B5FC0
ΔE00 6.97
Mediumpurple
#9370DB
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9556E6 #A7E656
analogous
#565FE6 #9556E6 #DD56E6
triadic
#9556E6 #E69556 #56E695
tetradic
#9556E6 #E6565F #A7E656 #56E6DD
square
#9556E6 #E6565F #A7E656 #56E6DD
split-complementary
#9556E6 #E6DD56 #5FE656
monochromatic
#5819A9 #7421DE #9556E6 #B68BEE #D8C1F6
Accessibility & contrast
On white
4.42
#9556E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#9556E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9556E6
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9556E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9556E6 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#1A77E3
Tritanopia (blue-blind)
#837696
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #9556e6; /* rgb */ color: rgb(149, 86, 230); /* oklch */ color: oklch(59.6% 0.209 300.2);
Tailwind
colors: {
custom: {
50: '#b989ef',
500: '#9556e6',
950: '#000000',
},
}SCSS
$custom: #9556e6; $custom-light: #b989ef; $custom-dark: #000000;
JSON
{
"hex": "#9556e6",
"rgb": {
"r": 149,
"g": 86,
"b": 230
},
"hsl": {
"h": 266.25,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.59587,
"c": 0.20928,
"h": 300.2
},
"luminance": 0.18758
}Semantic roles & 50–950 ramp
primary
#9556E6
secondary
#CFE6B1
accent
#D60F7F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84