#974BCE#974BCE
#974BCE is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.198 H 308.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #974BCE |
|---|---|
| RGB | rgb(151, 75, 206) |
| HSL | hsl(275, 57%, 55%) |
| HSV | hsv(275, 64%, 81%) |
| CMYK | cmyk(26.7%, 63.6%, 0%, 19.2%) |
| CIE-LAB | lab(47.06, 54.47, -55.32) |
| CIE-LCH | lch(47.06, 77.64, 314.56°) |
| OKLab | oklab(56.73% 0.1221 -0.1563) |
| OKLCH | oklch(56.73% 0.198 308) |
| XYZ | xyz(26.4169, 16.0681, 60.0904) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.54
Lightish Purple
#A552E6
ΔE00 4.83
Purply
#983FB2
ΔE00 5.44
Purpley
#8756E4
ΔE00 5.45
Amethyst
#9B5FC0
ΔE00 5.84
Deep Lavender
#8D5EB7
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974BCE #82CE4B
analogous
#554BCE #974BCE #CE4BC4
triadic
#974BCE #CE974B #4BCE97
tetradic
#974BCE #CE554B #82CE4B #4BC4CE
square
#974BCE #CE554B #82CE4B #4BC4CE
split-complementary
#974BCE #C4CE4B #4BCE55
monochromatic
#57227D #782FAD #974BCE #B37BDB #CFABE8
Accessibility & contrast
On white
4.98
#974BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#974BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974BCE
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974BCE | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#8F6686
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #974bce; /* rgb */ color: rgb(151, 75, 206); /* oklch */ color: oklch(56.7% 0.198 308.0);
Tailwind
colors: {
custom: {
50: '#b982de',
500: '#974bce',
950: '#000000',
},
}SCSS
$custom: #974bce; $custom-light: #b982de; $custom-dark: #000000;
JSON
{
"hex": "#974bce",
"rgb": {
"r": 151,
"g": 75,
"b": 206
},
"hsl": {
"h": 274.809,
"s": 57.205,
"l": 55.098
},
"oklch": {
"l": 0.56727,
"c": 0.19836,
"h": 308
},
"luminance": 0.16068
}Semantic roles & 50–950 ramp
primary
#974BCE
secondary
#B6D69F
accent
#E04788
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83