#974CCD#974CCD
#974CCD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.196 H 308.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #974CCD |
|---|---|
| RGB | rgb(151, 76, 205) |
| HSL | hsl(275, 56%, 55%) |
| HSV | hsv(275, 63%, 80%) |
| CMYK | cmyk(26.3%, 62.9%, 0%, 19.6%) |
| CIE-LAB | lab(47.18, 53.76, -54.56) |
| CIE-LCH | lch(47.18, 76.60, 314.58°) |
| OKLab | oklab(56.79% 0.121 -0.1541) |
| OKLCH | oklch(56.79% 0.196 308.1) |
| XYZ | xyz(26.3641, 16.1564, 59.4754) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.74
Lightish Purple
#A552E6
ΔE00 4.82
Purply
#983FB2
ΔE00 5.42
Purpley
#8756E4
ΔE00 5.49
Amethyst
#9B5FC0
ΔE00 5.59
Deep Lavender
#8D5EB7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974CCD #82CD4C
analogous
#574CCD #974CCD #CD4CC2
triadic
#974CCD #CD974C #4CCD97
tetradic
#974CCD #CD574C #82CD4C #4CC2CD
square
#974CCD #CD574C #82CD4C #4CC2CD
split-complementary
#974CCD #C2CD4C #4CCD57
monochromatic
#57237C #7830AC #974CCD #B37CDA #CFACE8
Accessibility & contrast
On white
4.96
#974CCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#974CCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974CCD
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974CCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974CCD | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#8F6686
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #974ccd; /* rgb */ color: rgb(151, 76, 205); /* oklch */ color: oklch(56.8% 0.196 308.1);
Tailwind
colors: {
custom: {
50: '#b982dd',
500: '#974ccd',
950: '#000000',
},
}SCSS
$custom: #974ccd; $custom-light: #b982dd; $custom-dark: #000000;
JSON
{
"hex": "#974ccd",
"rgb": {
"r": 151,
"g": 76,
"b": 205
},
"hsl": {
"h": 274.884,
"s": 56.332,
"l": 55.098
},
"oklch": {
"l": 0.5679,
"c": 0.19593,
"h": 308.1
},
"luminance": 0.16156
}Semantic roles & 50–950 ramp
primary
#974CCD
secondary
#B6D59F
accent
#E04888
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83