#974CCB#974CCB
#974CCB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.194 H 308.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #974CCB |
|---|---|
| RGB | rgb(151, 76, 203) |
| HSL | hsl(275, 55%, 55%) |
| HSV | hsv(275, 63%, 80%) |
| CMYK | cmyk(25.6%, 62.6%, 0%, 20.4%) |
| CIE-LAB | lab(47.05, 53.31, -53.61) |
| CIE-LCH | lch(47.05, 75.60, 314.84°) |
| OKLab | oklab(56.66% 0.1211 -0.1513) |
| OKLCH | oklch(56.66% 0.194 308.7) |
| XYZ | xyz(26.1243, 16.0604, 58.2121) |
| Luminance | 0.1606 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.70
Lightish Purple
#A552E6
ΔE00 5.05
Purply
#983FB2
ΔE00 5.14
Amethyst
#9B5FC0
ΔE00 5.47
Deep Lavender
#8D5EB7
ΔE00 5.69
Purpley
#8756E4
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974CCB #80CB4C
analogous
#584CCB #974CCB #CB4CBF
triadic
#974CCB #CB974C #4CCB97
tetradic
#974CCB #CB584C #80CB4C #4CBFCB
square
#974CCB #CB584C #80CB4C #4CBFCB
split-complementary
#974CCB #BFCB4C #4CCB58
monochromatic
#562379 #7831A9 #974CCB #B37BD9 #CEABE7
Accessibility & contrast
On white
4.99
#974CCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#974CCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974CCB
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974CCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974CCB | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036DCF
Deuteranopia (green-blind)
#3871C8
Tritanopia (blue-blind)
#8F6585
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #974ccb; /* rgb */ color: rgb(151, 76, 203); /* oklch */ color: oklch(56.7% 0.194 308.7);
Tailwind
colors: {
custom: {
50: '#b982db',
500: '#974ccb',
950: '#000000',
},
}SCSS
$custom: #974ccb; $custom-light: #b982db; $custom-dark: #000000;
JSON
{
"hex": "#974ccb",
"rgb": {
"r": 151,
"g": 76,
"b": 203
},
"hsl": {
"h": 275.433,
"s": 54.978,
"l": 54.706
},
"oklch": {
"l": 0.5666,
"c": 0.19379,
"h": 308.7
},
"luminance": 0.1606
}Semantic roles & 50–950 ramp
primary
#974CCB
secondary
#B5D49F
accent
#DE4986
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83