#9B56E6#9B56E6
#9B56E6 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.210 H 302.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9B56E6 |
|---|---|
| RGB | rgb(155, 86, 230) |
| HSL | hsl(269, 74%, 62%) |
| HSV | hsv(269, 63%, 90%) |
| CMYK | cmyk(32.6%, 62.6%, 0%, 9.8%) |
| CIE-LAB | lab(51.08, 55.50, -62.49) |
| CIE-LCH | lch(51.08, 83.57, 311.61°) |
| OKLab | oklab(60.23% 0.1132 -0.1773) |
| OKLCH | oklch(60.23% 0.21 302.6) |
| XYZ | xyz(31.1250, 19.3373, 76.9403) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.86
Lighter Purple
#A55AF4
ΔE00 2.90
Purpley
#8756E4
ΔE00 3.67
Amethyst
#9B5FC0
ΔE00 6.55
Electric Purple
#AA23FF
ΔE00 6.91
Mediumpurple
#9370DB
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B56E6 #A1E656
analogous
#5659E6 #9B56E6 #E356E6
triadic
#9B56E6 #E69B56 #56E69B
tetradic
#9B56E6 #E65659 #A1E656 #56E6E3
square
#9B56E6 #E65659 #A1E656 #56E6E3
split-complementary
#9B56E6 #E6E356 #59E656
monochromatic
#5E19A9 #7B21DE #9B56E6 #BB8BEE #DAC1F6
Accessibility & contrast
On white
4.31
#9B56E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#9B56E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B56E6
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B56E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B56E6 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#2779E3
Tritanopia (blue-blind)
#8C7596
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #9b56e6; /* rgb */ color: rgb(155, 86, 230); /* oklch */ color: oklch(60.2% 0.210 302.6);
Tailwind
colors: {
custom: {
50: '#bd89ef',
500: '#9b56e6',
950: '#000000',
},
}SCSS
$custom: #9b56e6; $custom-light: #bd89ef; $custom-dark: #000000;
JSON
{
"hex": "#9b56e6",
"rgb": {
"r": 155,
"g": 86,
"b": 230
},
"hsl": {
"h": 268.75,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.60228,
"c": 0.21037,
"h": 302.6
},
"luminance": 0.19337
}Semantic roles & 50–950 ramp
primary
#9B56E6
secondary
#CDE6B1
accent
#D60F77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84