#974DC1#974DC1
#974DC1 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.182 H 311.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #974DC1 |
|---|---|
| RGB | rgb(151, 77, 193) |
| HSL | hsl(278, 48%, 53%) |
| HSV | hsv(278, 60%, 76%) |
| CMYK | cmyk(21.8%, 60.1%, 0%, 24.3%) |
| CIE-LAB | lab(46.63, 50.58, -48.51) |
| CIE-LCH | lch(46.63, 70.08, 316.20°) |
| OKLab | oklab(56.16% 0.12 -0.1364) |
| OKLCH | oklch(56.16% 0.182 311.3) |
| XYZ | xyz(25.0402, 15.7379, 52.1604) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.01
Amethyst
#9B5FC0
ΔE00 4.90
Deep Lavender
#8D5EB7
ΔE00 4.92
Darkorchid
#9932CC
ΔE00 5.11
Lightish Purple
#A552E6
ΔE00 6.26
Medium Purple
#9E43A2
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974DC1 #77C14D
analogous
#5D4DC1 #974DC1 #C14DB1
triadic
#974DC1 #C1974D #4DC197
tetradic
#974DC1 #C15D4D #77C14D #4DB1C1
square
#974DC1 #C15D4D #77C14D #4DB1C1
split-complementary
#974DC1 #B1C14D #4DC15D
monochromatic
#54266D #76369B #974DC1 #B27AD1 #CCA8E1
Accessibility & contrast
On white
5.06
#974DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#974DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974DC1
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974DC1 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226BC5
Deuteranopia (green-blind)
#4370BE
Tritanopia (blue-blind)
#926380
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #974dc1; /* rgb */ color: rgb(151, 77, 193); /* oklch */ color: oklch(56.2% 0.182 311.3);
Tailwind
colors: {
custom: {
50: '#b983d4',
500: '#974dc1',
950: '#000000',
},
}SCSS
$custom: #974dc1; $custom-light: #b983d4; $custom-dark: #000000;
JSON
{
"hex": "#974dc1",
"rgb": {
"r": 151,
"g": 77,
"b": 193
},
"hsl": {
"h": 278.276,
"s": 48.333,
"l": 52.941
},
"oklch": {
"l": 0.56156,
"c": 0.18168,
"h": 311.3
},
"luminance": 0.15737
}Semantic roles & 50–950 ramp
primary
#974DC1
secondary
#AECE9C
accent
#D85081
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83