#972ED3#972ED3
#972ED3 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 54.0% C 0.237 H 309.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #972ED3 |
|---|---|
| RGB | rgb(151, 46, 211) |
| HSL | hsl(278, 65%, 50%) |
| HSV | hsv(278, 78%, 83%) |
| CMYK | cmyk(28.4%, 78.2%, 0%, 17.3%) |
| CIE-LAB | lab(43.12, 67.64, -64.58) |
| CIE-LCH | lch(43.12, 93.52, 316.33°) |
| OKLab | oklab(54.03% 0.1499 -0.1834) |
| OKLCH | oklch(54.03% 0.237 309.3) |
| XYZ | xyz(25.4950, 13.2369, 62.8273) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.25
Blueviolet
#8A2BE2
ΔE00 3.22
Violet (survey)
#9A0EEA
ΔE00 3.30
Vibrant Purple
#AD03DE
ΔE00 3.59
Darkviolet
#9400D3
ΔE00 3.74
Vivid Purple
#9900FA
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972ED3 #6AD32E
analogous
#452ED3 #972ED3 #D32EBC
triadic
#972ED3 #D3972E #2ED397
tetradic
#972ED3 #D3452E #6AD32E #2EBCD3
square
#972ED3 #D3452E #6AD32E #2EBCD3
split-complementary
#972ED3 #BCD32E #2ED345
monochromatic
#4F176F #7322A2 #972ED3 #B061DE #C993E8
Accessibility & contrast
On white
5.76
#972ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#972ED3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #972ED3
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972ED3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972ED3 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#8E5881
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #972ed3; /* rgb */ color: rgb(151, 46, 211); /* oklch */ color: oklch(54.0% 0.237 309.3);
Tailwind
colors: {
custom: {
50: '#bb73e1',
500: '#972ed3',
950: '#000000',
},
}SCSS
$custom: #972ed3; $custom-light: #bb73e1; $custom-dark: #000000;
JSON
{
"hex": "#972ed3",
"rgb": {
"r": 151,
"g": 46,
"b": 211
},
"hsl": {
"h": 278.182,
"s": 65.217,
"l": 50.392
},
"oklch": {
"l": 0.54028,
"c": 0.23685,
"h": 309.3
},
"luminance": 0.13236
}Semantic roles & 50–950 ramp
primary
#972ED3
secondary
#A4D38A
accent
#E8407D
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83