#9A36CD#9A36CD
#9A36CD is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.7% C 0.224 H 311.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9A36CD |
|---|---|
| RGB | rgb(154, 54, 205) |
| HSL | hsl(280, 60%, 51%) |
| HSV | hsv(280, 74%, 80%) |
| CMYK | cmyk(24.9%, 73.7%, 0%, 19.6%) |
| CIE-LAB | lab(44.11, 64.06, -59.48) |
| CIE-LCH | lch(44.11, 87.42, 317.12°) |
| OKLab | oklab(54.68% 0.1481 -0.1683) |
| OKLCH | oklch(54.68% 0.224 311.3) |
| XYZ | xyz(25.6630, 13.9168, 59.0801) |
| Luminance | 0.1392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.73
Vibrant Purple
#AD03DE
ΔE00 3.92
Purply
#983FB2
ΔE00 4.43
Blueviolet
#8A2BE2
ΔE00 4.67
Violet (survey)
#9A0EEA
ΔE00 4.74
Darkviolet
#9400D3
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A36CD #69CD36
analogous
#4E36CD #9A36CD #CD36B4
triadic
#9A36CD #CD9A36 #36CD9A
tetradic
#9A36CD #CD4E36 #69CD36 #36B4CD
square
#9A36CD #CD4E36 #69CD36 #36B4CD
split-complementary
#9A36CD #B4CD36 #36CD4E
monochromatic
#521B6D #76279E #9A36CD #B367D9 #CB98E5
Accessibility & contrast
On white
5.55
#9A36CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#9A36CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A36CD
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A36CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A36CD | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#1B6ACA
Tritanopia (blue-blind)
#93597F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9a36cd; /* rgb */ color: rgb(154, 54, 205); /* oklch */ color: oklch(54.7% 0.224 311.3);
Tailwind
colors: {
custom: {
50: '#bd77dd',
500: '#9a36cd',
950: '#000000',
},
}SCSS
$custom: #9a36cd; $custom-light: #bd77dd; $custom-dark: #000000;
JSON
{
"hex": "#9a36cd",
"rgb": {
"r": 154,
"g": 54,
"b": 205
},
"hsl": {
"h": 279.735,
"s": 60.159,
"l": 50.784
},
"oklch": {
"l": 0.54681,
"c": 0.22423,
"h": 311.3
},
"luminance": 0.13916
}Semantic roles & 50–950 ramp
primary
#9A36CD
secondary
#A5D18E
accent
#E3447A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83