#973ED2#973ED2
#973ED2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.5% C 0.219 H 308.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #973ED2 |
|---|---|
| RGB | rgb(151, 62, 210) |
| HSL | hsl(276, 62%, 53%) |
| HSV | hsv(276, 70%, 82%) |
| CMYK | cmyk(28.1%, 70.5%, 0%, 17.6%) |
| CIE-LAB | lab(45.19, 61.30, -60.64) |
| CIE-LCH | lch(45.19, 86.23, 315.31°) |
| OKLab | oklab(55.47% 0.1358 -0.1719) |
| OKLCH | oklch(55.47% 0.219 308.3) |
| XYZ | xyz(26.1156, 14.6781, 62.4177) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.24
Blueviolet
#8A2BE2
ΔE00 4.59
Vibrant Purple
#AD03DE
ΔE00 4.84
Violet (survey)
#9A0EEA
ΔE00 5.10
Purply
#983FB2
ΔE00 5.23
Electric Purple
#AA23FF
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#973ED2 #79D23E
analogous
#4D3ED2 #973ED2 #D23EC3
triadic
#973ED2 #D2973E #3ED297
tetradic
#973ED2 #D24D3E #79D23E #3EC3D2
square
#973ED2 #D24D3E #79D23E #3EC3D2
split-complementary
#973ED2 #C3D23E #3ED24D
monochromatic
#541C79 #7728AB #973ED2 #B270DE #CCA1E9
Accessibility & contrast
On white
5.34
#973ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#973ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #973ED2
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##973ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##973ED2 | 1.00 | 5.34 | 3.94 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#166CCF
Tritanopia (blue-blind)
#8E6084
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #973ed2; /* rgb */ color: rgb(151, 62, 210); /* oklch */ color: oklch(55.5% 0.219 308.3);
Tailwind
colors: {
custom: {
50: '#ba7be1',
500: '#973ed2',
950: '#000000',
},
}SCSS
$custom: #973ed2; $custom-light: #ba7be1; $custom-dark: #000000;
JSON
{
"hex": "#973ed2",
"rgb": {
"r": 151,
"g": 62,
"b": 210
},
"hsl": {
"h": 276.081,
"s": 62.185,
"l": 53.333
},
"oklch": {
"l": 0.55468,
"c": 0.21906,
"h": 308.3
},
"luminance": 0.14678
}Semantic roles & 50–950 ramp
primary
#973ED2
secondary
#AFD696
accent
#E54383
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83