#974BBE#974BBE
#974BBE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.7% C 0.181 H 312.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #974BBE |
|---|---|
| RGB | rgb(151, 75, 190) |
| HSL | hsl(280, 47%, 52%) |
| HSV | hsv(280, 61%, 75%) |
| CMYK | cmyk(20.5%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(46.08, 50.92, -47.64) |
| CIE-LCH | lch(46.08, 69.73, 316.91°) |
| OKLab | oklab(55.7% 0.1225 -0.1338) |
| OKLCH | oklch(55.7% 0.181 312.5) |
| XYZ | xyz(24.5712, 15.3298, 50.3698) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.31
Darkorchid
#9932CC
ΔE00 4.86
Deep Lavender
#8D5EB7
ΔE00 5.24
Amethyst
#9B5FC0
ΔE00 5.34
Medium Purple
#9E43A2
ΔE00 5.94
Royal Purple
#7851A9
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974BBE #72BE4B
analogous
#5E4BBE #974BBE #BE4BAC
triadic
#974BBE #BE974B #4BBE97
tetradic
#974BBE #BE5E4B #72BE4B #4BACBE
square
#974BBE #BE5E4B #72BE4B #4BACBE
split-complementary
#974BBE #ACBE4B #4BBE5E
monochromatic
#522669 #753696 #974BBE #B178CE #CBA5DE
Accessibility & contrast
On white
5.17
#974BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#974BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974BBE
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974BBE | 1.00 | 5.17 | 4.07 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2269C2
Deuteranopia (green-blind)
#436FBB
Tritanopia (blue-blind)
#93607D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #974bbe; /* rgb */ color: rgb(151, 75, 190); /* oklch */ color: oklch(55.7% 0.181 312.5);
Tailwind
colors: {
custom: {
50: '#b981d2',
500: '#974bbe',
950: '#000000',
},
}SCSS
$custom: #974bbe; $custom-light: #b981d2; $custom-dark: #000000;
JSON
{
"hex": "#974bbe",
"rgb": {
"r": 151,
"g": 75,
"b": 190
},
"hsl": {
"h": 279.652,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.55702,
"c": 0.18144,
"h": 312.5
},
"luminance": 0.15329
}Semantic roles & 50–950 ramp
primary
#974BBE
secondary
#AACC99
accent
#D7517E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83