#9A56DA#9A56DA
#9A56DA is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.3% C 0.197 H 304.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9A56DA |
|---|---|
| RGB | rgb(154, 86, 218) |
| HSL | hsl(271, 64%, 60%) |
| HSV | hsv(271, 61%, 85%) |
| CMYK | cmyk(29.4%, 60.6%, 0%, 14.5%) |
| CIE-LAB | lab(50.20, 52.44, -57.12) |
| CIE-LCH | lch(50.20, 77.54, 312.56°) |
| OKLab | oklab(59.32% 0.1125 -0.1616) |
| OKLCH | oklch(59.32% 0.197 304.8) |
| XYZ | xyz(29.3063, 18.5877, 68.3600) |
| Luminance | 0.1859 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.38
Purpley
#8756E4
ΔE00 4.09
Lighter Purple
#A55AF4
ΔE00 4.34
Amethyst
#9B5FC0
ΔE00 5.04
Deep Lavender
#8D5EB7
ΔE00 6.16
Mediumorchid
#BA55D3
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A56DA #96DA56
analogous
#5856DA #9A56DA #DA56D8
triadic
#9A56DA #DA9A56 #56DA9A
tetradic
#9A56DA #DA5856 #96DA56 #56D8DA
square
#9A56DA #DA5856 #96DA56 #56D8DA
split-complementary
#9A56DA #D8DA56 #56DA58
monochromatic
#5D2195 #7C2CC7 #9A56DA #B888E5 #D6BAF0
Accessibility & contrast
On white
4.45
#9A56DA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#9A56DA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A56DA
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A56DA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A56DA | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C76DE
Deuteranopia (green-blind)
#3878D7
Tritanopia (blue-blind)
#8F7190
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9a56da; /* rgb */ color: rgb(154, 86, 218); /* oklch */ color: oklch(59.3% 0.197 304.8);
Tailwind
colors: {
custom: {
50: '#bc89e6',
500: '#9a56da',
950: '#000000',
},
}SCSS
$custom: #9a56da; $custom-light: #bc89e6; $custom-dark: #000000;
JSON
{
"hex": "#9a56da",
"rgb": {
"r": 154,
"g": 86,
"b": 218
},
"hsl": {
"h": 270.909,
"s": 64.078,
"l": 59.608
},
"oklch": {
"l": 0.59322,
"c": 0.19686,
"h": 304.8
},
"luminance": 0.18588
}Semantic roles & 50–950 ramp
primary
#9A56DA
secondary
#C5E0AC
accent
#E74191
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84