#974BCD#974BCD
#974BCD is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.7% C 0.197 H 308.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #974BCD |
|---|---|
| RGB | rgb(151, 75, 205) |
| HSL | hsl(275, 57%, 55%) |
| HSV | hsv(275, 63%, 80%) |
| CMYK | cmyk(26.3%, 63.4%, 0%, 19.6%) |
| CIE-LAB | lab(47.00, 54.25, -54.85) |
| CIE-LCH | lch(47.00, 77.14, 314.69°) |
| OKLab | oklab(56.66% 0.1222 -0.155) |
| OKLCH | oklch(56.66% 0.197 308.2) |
| XYZ | xyz(26.2958, 16.0196, 59.4526) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.52
Lightish Purple
#A552E6
ΔE00 4.94
Purply
#983FB2
ΔE00 5.30
Purpley
#8756E4
ΔE00 5.58
Amethyst
#9B5FC0
ΔE00 5.78
Deep Lavender
#8D5EB7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974BCD #81CD4B
analogous
#564BCD #974BCD #CD4BC2
triadic
#974BCD #CD974B #4BCD97
tetradic
#974BCD #CD564B #81CD4B #4BC2CD
square
#974BCD #CD564B #81CD4B #4BC2CD
split-complementary
#974BCD #C2CD4B #4BCD56
monochromatic
#56227B #7830AB #974BCD #B37BDA #CEABE8
Accessibility & contrast
On white
5.00
#974BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#974BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974BCD
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974BCD | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#8F6585
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #974bcd; /* rgb */ color: rgb(151, 75, 205); /* oklch */ color: oklch(56.7% 0.197 308.2);
Tailwind
colors: {
custom: {
50: '#b982dd',
500: '#974bcd',
950: '#000000',
},
}SCSS
$custom: #974bcd; $custom-light: #b982dd; $custom-dark: #000000;
JSON
{
"hex": "#974bcd",
"rgb": {
"r": 151,
"g": 75,
"b": 205
},
"hsl": {
"h": 275.077,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.56661,
"c": 0.19732,
"h": 308.2
},
"luminance": 0.16019
}Semantic roles & 50–950 ramp
primary
#974BCD
secondary
#B5D59F
accent
#E04887
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83