#974EBF#974EBF
#974EBF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.178 H 311.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #974EBF |
|---|---|
| RGB | rgb(151, 78, 191) |
| HSL | hsl(279, 47%, 53%) |
| HSV | hsv(279, 59%, 75%) |
| CMYK | cmyk(20.9%, 59.2%, 0%, 25.1%) |
| CIE-LAB | lab(46.70, 49.63, -47.24) |
| CIE-LCH | lch(46.70, 68.52, 316.42°) |
| OKLab | oklab(56.17% 0.1188 -0.1327) |
| OKLCH | oklch(56.17% 0.178 311.8) |
| XYZ | xyz(24.8892, 15.7903, 51.0168) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.97
Deep Lavender
#8D5EB7
ΔE00 4.65
Amethyst
#9B5FC0
ΔE00 4.65
Darkorchid
#9932CC
ΔE00 5.44
Medium Purple
#9E43A2
ΔE00 6.29
Lightish Purple
#A552E6
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974EBF #76BF4E
analogous
#5E4EBF #974EBF #BF4EAE
triadic
#974EBF #BF974E #4EBF97
tetradic
#974EBF #BF5E4E #76BF4E #4EAEBF
square
#974EBF #BF5E4E #76BF4E #4EAEBF
split-complementary
#974EBF #AEBF4E #4EBF5E
monochromatic
#53276C #763799 #974EBF #B17BCF #CCA8E0
Accessibility & contrast
On white
5.05
#974EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#974EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974EBF
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974EBF | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#92637F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #974ebf; /* rgb */ color: rgb(151, 78, 191); /* oklch */ color: oklch(56.2% 0.178 311.8);
Tailwind
colors: {
custom: {
50: '#b983d3',
500: '#974ebf',
950: '#000000',
},
}SCSS
$custom: #974ebf; $custom-light: #b983d3; $custom-dark: #000000;
JSON
{
"hex": "#974ebf",
"rgb": {
"r": 151,
"g": 78,
"b": 191
},
"hsl": {
"h": 278.761,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.56169,
"c": 0.17805,
"h": 311.8
},
"luminance": 0.1579
}Semantic roles & 50–950 ramp
primary
#974EBF
secondary
#ADCD9C
accent
#D75180
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83