#9A56E4#9A56E4
#9A56E4 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.208 H 302.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9A56E4 |
|---|---|
| RGB | rgb(154, 86, 228) |
| HSL | hsl(269, 72%, 62%) |
| HSV | hsv(269, 62%, 89%) |
| CMYK | cmyk(32.5%, 62.3%, 0%, 10.6%) |
| CIE-LAB | lab(50.84, 54.81, -61.76) |
| CIE-LCH | lch(50.84, 82.57, 311.59°) |
| OKLab | oklab(59.98% 0.112 -0.1752) |
| OKLCH | oklch(59.98% 0.208 302.6) |
| XYZ | xyz(30.6546, 19.1270, 75.4607) |
| Luminance | 0.1913 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.99
Lighter Purple
#A55AF4
ΔE00 3.20
Purpley
#8756E4
ΔE00 3.52
Amethyst
#9B5FC0
ΔE00 6.35
Mediumpurple
#9370DB
ΔE00 6.93
Electric Purple
#AA23FF
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A56E4 #A0E456
analogous
#5659E4 #9A56E4 #E156E4
triadic
#9A56E4 #E49A56 #56E49A
tetradic
#9A56E4 #E45659 #A0E456 #56E4E1
square
#9A56E4 #E45659 #A0E456 #56E4E1
split-complementary
#9A56E4 #E4E156 #59E456
monochromatic
#5D1AA5 #7B23DA #9A56E4 #BA8BEC #D9C0F5
Accessibility & contrast
On white
4.35
#9A56E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#9A56E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A56E4
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A56E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A56E4 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#2979E1
Tritanopia (blue-blind)
#8B7495
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9a56e4; /* rgb */ color: rgb(154, 86, 228); /* oklch */ color: oklch(60.0% 0.208 302.6);
Tailwind
colors: {
custom: {
50: '#bc89ed',
500: '#9a56e4',
950: '#000000',
},
}SCSS
$custom: #9a56e4; $custom-light: #bc89ed; $custom-dark: #000000;
JSON
{
"hex": "#9a56e4",
"rgb": {
"r": 154,
"g": 86,
"b": 228
},
"hsl": {
"h": 268.732,
"s": 72.449,
"l": 61.569
},
"oklch": {
"l": 0.59984,
"c": 0.20796,
"h": 302.6
},
"luminance": 0.19127
}Semantic roles & 50–950 ramp
primary
#9A56E4
secondary
#CCE5B0
accent
#D51177
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84