#974BBF#974BBF
#974BBF is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.182 H 312.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #974BBF |
|---|---|
| RGB | rgb(151, 75, 191) |
| HSL | hsl(279, 48%, 52%) |
| HSV | hsv(279, 61%, 75%) |
| CMYK | cmyk(20.9%, 60.7%, 0%, 25.1%) |
| CIE-LAB | lab(46.14, 51.14, -48.13) |
| CIE-LCH | lch(46.14, 70.22, 316.74°) |
| OKLab | oklab(55.76% 0.1225 -0.1353) |
| OKLCH | oklch(55.76% 0.183 312.2) |
| XYZ | xyz(24.6809, 15.3737, 50.9474) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.43
Darkorchid
#9932CC
ΔE00 4.79
Deep Lavender
#8D5EB7
ΔE00 5.26
Amethyst
#9B5FC0
ΔE00 5.34
Medium Purple
#9E43A2
ΔE00 6.10
Royal Purple
#7851A9
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974BBF #73BF4B
analogous
#5D4BBF #974BBF #BF4BAD
triadic
#974BBF #BF974B #4BBF97
tetradic
#974BBF #BF5D4B #73BF4B #4BADBF
square
#974BBF #BF5D4B #73BF4B #4BADBF
split-complementary
#974BBF #ADBF4B #4BBF5D
monochromatic
#52266A #763697 #974BBF #B178CF #CBA5DF
Accessibility & contrast
On white
5.15
#974BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#974BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974BBF
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974BBF | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#93607E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #974bbf; /* rgb */ color: rgb(151, 75, 191); /* oklch */ color: oklch(55.8% 0.182 312.2);
Tailwind
colors: {
custom: {
50: '#b981d3',
500: '#974bbf',
950: '#000000',
},
}SCSS
$custom: #974bbf; $custom-light: #b981d3; $custom-dark: #000000;
JSON
{
"hex": "#974bbf",
"rgb": {
"r": 151,
"g": 75,
"b": 191
},
"hsl": {
"h": 279.31,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.55764,
"c": 0.1825,
"h": 312.2
},
"luminance": 0.15373
}Semantic roles & 50–950 ramp
primary
#974BBF
secondary
#ABCC9A
accent
#D7517F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83