#9A37CD#9A37CD
#9A37CD is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.8% C 0.223 H 311.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9A37CD |
|---|---|
| RGB | rgb(154, 55, 205) |
| HSL | hsl(280, 60%, 51%) |
| HSV | hsv(280, 73%, 80%) |
| CMYK | cmyk(24.9%, 73.2%, 0%, 19.6%) |
| CIE-LAB | lab(44.25, 63.67, -59.26) |
| CIE-LCH | lch(44.25, 86.98, 317.05°) |
| OKLab | oklab(54.78% 0.1472 -0.1677) |
| OKLCH | oklch(54.78% 0.223 311.3) |
| XYZ | xyz(25.7100, 14.0108, 59.0958) |
| Luminance | 0.1401 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.89
Vibrant Purple
#AD03DE
ΔE00 4.01
Purply
#983FB2
ΔE00 4.40
Blueviolet
#8A2BE2
ΔE00 4.74
Violet (survey)
#9A0EEA
ΔE00 4.84
Darkviolet
#9400D3
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A37CD #6ACD37
analogous
#4F37CD #9A37CD #CD37B5
triadic
#9A37CD #CD9A37 #37CD9A
tetradic
#9A37CD #CD4F37 #6ACD37 #37B5CD
square
#9A37CD #CD4F37 #6ACD37 #37B5CD
split-complementary
#9A37CD #B5CD37 #37CD4F
monochromatic
#521C6E #76289F #9A37CD #B368D9 #CB99E5
Accessibility & contrast
On white
5.52
#9A37CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#9A37CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A37CD
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A37CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A37CD | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#1D6ACA
Tritanopia (blue-blind)
#93597F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9a37cd; /* rgb */ color: rgb(154, 55, 205); /* oklch */ color: oklch(54.8% 0.223 311.3);
Tailwind
colors: {
custom: {
50: '#bc77dd',
500: '#9a37cd',
950: '#000000',
},
}SCSS
$custom: #9a37cd; $custom-light: #bc77dd; $custom-dark: #000000;
JSON
{
"hex": "#9a37cd",
"rgb": {
"r": 154,
"g": 55,
"b": 205
},
"hsl": {
"h": 279.6,
"s": 60,
"l": 50.98
},
"oklch": {
"l": 0.54776,
"c": 0.22315,
"h": 311.3
},
"luminance": 0.1401
}Semantic roles & 50–950 ramp
primary
#9A37CD
secondary
#A5D18F
accent
#E3457B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83