#974CCE#974CCE
#974CCE is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.9% C 0.197 H 307.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #974CCE |
|---|---|
| RGB | rgb(151, 76, 206) |
| HSL | hsl(275, 57%, 55%) |
| HSV | hsv(275, 63%, 81%) |
| CMYK | cmyk(26.7%, 63.1%, 0%, 19.2%) |
| CIE-LAB | lab(47.24, 53.99, -55.03) |
| CIE-LCH | lch(47.24, 77.09, 314.45°) |
| OKLab | oklab(56.86% 0.1209 -0.1555) |
| OKLCH | oklch(56.86% 0.197 307.9) |
| XYZ | xyz(26.4852, 16.2048, 60.1131) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.71
Darkorchid
#9932CC
ΔE00 4.76
Purpley
#8756E4
ΔE00 5.36
Purply
#983FB2
ΔE00 5.56
Amethyst
#9B5FC0
ΔE00 5.65
Deep Lavender
#8D5EB7
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974CCE #83CE4C
analogous
#564CCE #974CCE #CE4CC4
triadic
#974CCE #CE974C #4CCE97
tetradic
#974CCE #CE564C #83CE4C #4CC4CE
square
#974CCE #CE564C #83CE4C #4CC4CE
split-complementary
#974CCE #C4CE4C #4CCE56
monochromatic
#57227D #782FAD #974CCE #B37CDB #CFACE8
Accessibility & contrast
On white
4.95
#974CCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#974CCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974CCE
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974CCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974CCE | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#8F6686
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #974cce; /* rgb */ color: rgb(151, 76, 206); /* oklch */ color: oklch(56.9% 0.197 307.9);
Tailwind
colors: {
custom: {
50: '#b982de',
500: '#974cce',
950: '#000000',
},
}SCSS
$custom: #974cce; $custom-light: #b982de; $custom-dark: #000000;
JSON
{
"hex": "#974cce",
"rgb": {
"r": 151,
"g": 76,
"b": 206
},
"hsl": {
"h": 274.615,
"s": 57.018,
"l": 55.294
},
"oklch": {
"l": 0.56856,
"c": 0.197,
"h": 307.9
},
"luminance": 0.16204
}Semantic roles & 50–950 ramp
primary
#974CCE
secondary
#B7D6A0
accent
#E04888
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83