#974BBD#974BBD
#974BBD is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.6% C 0.180 H 312.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #974BBD |
|---|---|
| RGB | rgb(151, 75, 189) |
| HSL | hsl(280, 46%, 52%) |
| HSV | hsv(280, 60%, 74%) |
| CMYK | cmyk(20.1%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(46.02, 50.70, -47.15) |
| CIE-LCH | lch(46.02, 69.24, 317.08°) |
| OKLab | oklab(55.64% 0.1225 -0.1324) |
| OKLCH | oklch(55.64% 0.18 312.8) |
| XYZ | xyz(24.4623, 15.2862, 49.7962) |
| Luminance | 0.1529 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.20
Darkorchid
#9932CC
ΔE00 4.93
Deep Lavender
#8D5EB7
ΔE00 5.23
Amethyst
#9B5FC0
ΔE00 5.35
Medium Purple
#9E43A2
ΔE00 5.78
Royal Purple
#7851A9
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974BBD #71BD4B
analogous
#5E4BBD #974BBD #BD4BAA
triadic
#974BBD #BD974B #4BBD97
tetradic
#974BBD #BD5E4B #71BD4B #4BAABD
square
#974BBD #BD5E4B #71BD4B #4BAABD
split-complementary
#974BBD #AABD4B #4BBD5E
monochromatic
#522668 #753694 #974BBD #B178CD #CBA5DE
Accessibility & contrast
On white
5.18
#974BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#974BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974BBD
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974BBD | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2369C1
Deuteranopia (green-blind)
#446FBA
Tritanopia (blue-blind)
#93607D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #974bbd; /* rgb */ color: rgb(151, 75, 189); /* oklch */ color: oklch(55.6% 0.180 312.8);
Tailwind
colors: {
custom: {
50: '#b981d1',
500: '#974bbd',
950: '#000000',
},
}SCSS
$custom: #974bbd; $custom-light: #b981d1; $custom-dark: #000000;
JSON
{
"hex": "#974bbd",
"rgb": {
"r": 151,
"g": 75,
"b": 189
},
"hsl": {
"h": 280,
"s": 46.341,
"l": 51.765
},
"oklch": {
"l": 0.5564,
"c": 0.1804,
"h": 312.8
},
"luminance": 0.15286
}Semantic roles & 50–950 ramp
primary
#974BBD
secondary
#AACB99
accent
#D6527E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82