#972FCE#972FCE
#972FCE is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.7% C 0.231 H 310.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #972FCE |
|---|---|
| RGB | rgb(151, 47, 206) |
| HSL | hsl(279, 63%, 50%) |
| HSV | hsv(279, 77%, 81%) |
| CMYK | cmyk(26.7%, 77.2%, 0%, 19.2%) |
| CIE-LAB | lab(42.87, 66.27, -62.10) |
| CIE-LCH | lch(42.87, 90.82, 316.86°) |
| OKLab | oklab(53.74% 0.1502 -0.1761) |
| OKLCH | oklch(53.74% 0.231 310.5) |
| XYZ | xyz(24.9174, 13.0691, 59.5905) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.73
Blueviolet
#8A2BE2
ΔE00 3.78
Vibrant Purple
#AD03DE
ΔE00 3.79
Darkviolet
#9400D3
ΔE00 3.81
Violet (survey)
#9A0EEA
ΔE00 3.91
Purply
#983FB2
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972FCE #66CE2F
analogous
#472FCE #972FCE #CE2FB6
triadic
#972FCE #CE972F #2FCE97
tetradic
#972FCE #CE472F #66CE2F #2FB6CE
square
#972FCE #CE472F #66CE2F #2FB6CE
split-complementary
#972FCE #B6CE2F #2FCE47
monochromatic
#4E186A #72249C #972FCE #B060DB #C991E6
Accessibility & contrast
On white
5.81
#972FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#972FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #972FCE
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972FCE | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#8F567E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #972fce; /* rgb */ color: rgb(151, 47, 206); /* oklch */ color: oklch(53.7% 0.231 310.5);
Tailwind
colors: {
custom: {
50: '#bb73de',
500: '#972fce',
950: '#000000',
},
}SCSS
$custom: #972fce; $custom-light: #bb73de; $custom-dark: #000000;
JSON
{
"hex": "#972fce",
"rgb": {
"r": 151,
"g": 47,
"b": 206
},
"hsl": {
"h": 279.245,
"s": 62.846,
"l": 49.608
},
"oklch": {
"l": 0.53737,
"c": 0.23144,
"h": 310.5
},
"luminance": 0.13069
}Semantic roles & 50–950 ramp
primary
#972FCE
secondary
#A1D188
accent
#E6427B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83