#974CB5#974CB5
#974CB5 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.3% C 0.170 H 315.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #974CB5 |
|---|---|
| RGB | rgb(151, 76, 181) |
| HSL | hsl(283, 42%, 50%) |
| HSV | hsv(283, 58%, 71%) |
| CMYK | cmyk(16.6%, 58%, 0%, 29%) |
| CIE-LAB | lab(45.75, 48.48, -42.92) |
| CIE-LCH | lch(45.75, 64.75, 318.48°) |
| OKLab | oklab(55.29% 0.121 -0.12) |
| OKLCH | oklch(55.29% 0.17 315.2) |
| XYZ | xyz(23.6861, 15.0851, 45.3711) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.83
Medium Purple
#9E43A2
ΔE00 4.54
Deep Lavender
#8D5EB7
ΔE00 5.10
Amethyst
#9B5FC0
ΔE00 5.37
Ugly Purple
#A442A0
ΔE00 5.64
Darkorchid
#9932CC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974CB5 #6AB54C
analogous
#624CB5 #974CB5 #B54C9E
triadic
#974CB5 #B5974C #4CB597
tetradic
#974CB5 #B5624C #6AB54C #4C9EB5
square
#974CB5 #B5624C #6AB54C #4C9EB5
split-complementary
#974CB5 #9EB54C #4CB562
monochromatic
#4F275F #73398B #974CB5 #B077C7 #C9A3D9
Accessibility & contrast
On white
5.23
#974CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#974CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974CB5
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974CB5 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#4B6EB2
Tritanopia (blue-blind)
#955E79
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #974cb5; /* rgb */ color: rgb(151, 76, 181); /* oklch */ color: oklch(55.3% 0.170 315.2);
Tailwind
colors: {
custom: {
50: '#b882cc',
500: '#974cb5',
950: '#000000',
},
}SCSS
$custom: #974cb5; $custom-light: #b882cc; $custom-dark: #000000;
JSON
{
"hex": "#974cb5",
"rgb": {
"r": 151,
"g": 76,
"b": 181
},
"hsl": {
"h": 282.857,
"s": 41.502,
"l": 50.392
},
"oklch": {
"l": 0.55293,
"c": 0.17047,
"h": 315.2
},
"luminance": 0.15084
}Semantic roles & 50–950 ramp
primary
#974CB5
secondary
#A4C697
accent
#D1567A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B13
muted
#817C82