#9A37CC#9A37CC
#9A37CC is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.222 H 311.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9A37CC |
|---|---|
| RGB | rgb(154, 55, 204) |
| HSL | hsl(280, 59%, 51%) |
| HSV | hsv(280, 73%, 80%) |
| CMYK | cmyk(24.5%, 73%, 0%, 20%) |
| CIE-LAB | lab(44.18, 63.46, -58.80) |
| CIE-LCH | lch(44.18, 86.52, 317.19°) |
| OKLab | oklab(54.71% 0.1473 -0.1663) |
| OKLCH | oklch(54.71% 0.222 311.5) |
| XYZ | xyz(25.5897, 13.9627, 58.4621) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.86
Vibrant Purple
#AD03DE
ΔE00 4.06
Purply
#983FB2
ΔE00 4.26
Blueviolet
#8A2BE2
ΔE00 4.84
Violet (survey)
#9A0EEA
ΔE00 4.94
Darkviolet
#9400D3
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A37CC #69CC37
analogous
#4F37CC #9A37CC #CC37B3
triadic
#9A37CC #CC9A37 #37CC9A
tetradic
#9A37CC #CC4F37 #69CC37 #37B3CC
square
#9A37CC #CC4F37 #69CC37 #37B3CC
split-complementary
#9A37CC #B3CC37 #37CC4F
monochromatic
#521C6D #76289E #9A37CC #B368D8 #CB99E5
Accessibility & contrast
On white
5.54
#9A37CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#9A37CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A37CC
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A37CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A37CC | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#1F6AC9
Tritanopia (blue-blind)
#94597F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9a37cc; /* rgb */ color: rgb(154, 55, 204); /* oklch */ color: oklch(54.7% 0.222 311.5);
Tailwind
colors: {
custom: {
50: '#bc77dc',
500: '#9a37cc',
950: '#000000',
},
}SCSS
$custom: #9a37cc; $custom-light: #bc77dc; $custom-dark: #000000;
JSON
{
"hex": "#9a37cc",
"rgb": {
"r": 154,
"g": 55,
"b": 204
},
"hsl": {
"h": 279.866,
"s": 59.363,
"l": 50.784
},
"oklch": {
"l": 0.54706,
"c": 0.22222,
"h": 311.5
},
"luminance": 0.13962
}Semantic roles & 50–950 ramp
primary
#9A37CC
secondary
#A5D08E
accent
#E3457A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83