#973FC7#973FC7
#973FC7 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.207 H 311.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #973FC7 |
|---|---|
| RGB | rgb(151, 63, 199) |
| HSL | hsl(279, 55%, 51%) |
| HSV | hsv(279, 68%, 78%) |
| CMYK | cmyk(24.1%, 68.3%, 0%, 22%) |
| CIE-LAB | lab(44.60, 58.49, -55.24) |
| CIE-LCH | lch(44.60, 80.46, 316.64°) |
| OKLab | oklab(54.81% 0.1361 -0.1561) |
| OKLCH | oklch(54.81% 0.207 311.1) |
| XYZ | xyz(24.8469, 14.2584, 55.4650) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.08
Purply
#983FB2
ΔE00 3.57
Vibrant Purple
#AD03DE
ΔE00 5.31
Blueviolet
#8A2BE2
ΔE00 5.66
Barney
#AC1DB8
ΔE00 5.86
Violet (survey)
#9A0EEA
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#973FC7 #6FC73F
analogous
#533FC7 #973FC7 #C73FB3
triadic
#973FC7 #C7973F #3FC797
tetradic
#973FC7 #C7533F #6FC73F #3FB3C7
square
#973FC7 #C7533F #6FC73F #3FB3C7
split-complementary
#973FC7 #B3C73F #3FC753
monochromatic
#51206C #752D9B #973FC7 #B16ED5 #CA9EE3
Accessibility & contrast
On white
5.45
#973FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#973FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #973FC7
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##973FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##973FC7 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#2D6BC4
Tritanopia (blue-blind)
#915C7E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #973fc7; /* rgb */ color: rgb(151, 63, 199); /* oklch */ color: oklch(54.8% 0.207 311.1);
Tailwind
colors: {
custom: {
50: '#ba7bd9',
500: '#973fc7',
950: '#000000',
},
}SCSS
$custom: #973fc7; $custom-light: #ba7bd9; $custom-dark: #000000;
JSON
{
"hex": "#973fc7",
"rgb": {
"r": 151,
"g": 63,
"b": 199
},
"hsl": {
"h": 278.824,
"s": 54.839,
"l": 51.373
},
"oklch": {
"l": 0.54813,
"c": 0.20704,
"h": 311.1
},
"luminance": 0.14258
}Semantic roles & 50–950 ramp
primary
#973FC7
secondary
#A8CF93
accent
#DE4A7E
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A15
muted
#817C83