#974DCF#974DCF
#974DCF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.1% C 0.197 H 307.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #974DCF |
|---|---|
| RGB | rgb(151, 77, 207) |
| HSL | hsl(274, 58%, 56%) |
| HSV | hsv(274, 63%, 81%) |
| CMYK | cmyk(27.1%, 62.8%, 0%, 18.8%) |
| CIE-LAB | lab(47.49, 53.72, -55.22) |
| CIE-LCH | lch(47.49, 77.04, 314.21°) |
| OKLab | oklab(57.05% 0.1197 -0.156) |
| OKLCH | oklch(57.05% 0.197 307.5) |
| XYZ | xyz(26.6765, 16.3924, 60.7781) |
| Luminance | 0.1639 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.48
Darkorchid
#9932CC
ΔE00 5.02
Purpley
#8756E4
ΔE00 5.15
Amethyst
#9B5FC0
ΔE00 5.53
Purply
#983FB2
ΔE00 5.82
Deep Lavender
#8D5EB7
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974DCF #85CF4D
analogous
#564DCF #974DCF #CF4DC6
triadic
#974DCF #CF974D #4DCF97
tetradic
#974DCF #CF564D #85CF4D #4DC6CF
square
#974DCF #CF564D #85CF4D #4DC6CF
split-complementary
#974DCF #C6CF4D #4DCF56
monochromatic
#57227F #782FAF #974DCF #B37DDC #CFADE9
Accessibility & contrast
On white
4.91
#974DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#974DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974DCF
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974DCF | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#8E6787
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #974dcf; /* rgb */ color: rgb(151, 77, 207); /* oklch */ color: oklch(57.1% 0.197 307.5);
Tailwind
colors: {
custom: {
50: '#b983de',
500: '#974dcf',
950: '#000000',
},
}SCSS
$custom: #974dcf; $custom-light: #b983de; $custom-dark: #000000;
JSON
{
"hex": "#974dcf",
"rgb": {
"r": 151,
"g": 77,
"b": 207
},
"hsl": {
"h": 274.154,
"s": 57.522,
"l": 55.686
},
"oklch": {
"l": 0.57052,
"c": 0.19667,
"h": 307.5
},
"luminance": 0.16392
}Semantic roles & 50–950 ramp
primary
#974DCF
secondary
#B8D7A1
accent
#E14789
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83