#974FDA#974FDA
#974FDA is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.206 H 304.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #974FDA |
|---|---|
| RGB | rgb(151, 79, 218) |
| HSL | hsl(271, 65%, 58%) |
| HSV | hsv(271, 64%, 85%) |
| CMYK | cmyk(30.7%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(48.55, 55.28, -59.79) |
| CIE-LCH | lch(48.55, 81.43, 312.76°) |
| OKLab | oklab(58.05% 0.1167 -0.1695) |
| OKLCH | oklch(58.05% 0.206 304.6) |
| XYZ | xyz(28.2105, 17.2334, 68.1563) |
| Luminance | 0.1723 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.24
Purpley
#8756E4
ΔE00 3.76
Lighter Purple
#A55AF4
ΔE00 5.53
Darkorchid
#9932CC
ΔE00 6.06
Amethyst
#9B5FC0
ΔE00 6.14
Electric Purple
#AA23FF
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974FDA #92DA4F
analogous
#514FDA #974FDA #DA4FD7
triadic
#974FDA #DA974F #4FDA97
tetradic
#974FDA #DA514F #92DA4F #4FD7DA
square
#974FDA #DA514F #92DA4F #4FD7DA
split-complementary
#974FDA #D7DA4F #4FDA51
monochromatic
#591E90 #7929C3 #974FDA #B582E5 #D3B4EF
Accessibility & contrast
On white
4.72
#974FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#974FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974FDA
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974FDA | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#2873D7
Tritanopia (blue-blind)
#8B6D8E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #974fda; /* rgb */ color: rgb(151, 79, 218); /* oklch */ color: oklch(58.0% 0.206 304.6);
Tailwind
colors: {
custom: {
50: '#ba84e6',
500: '#974fda',
950: '#000000',
},
}SCSS
$custom: #974fda; $custom-light: #ba84e6; $custom-dark: #000000;
JSON
{
"hex": "#974fda",
"rgb": {
"r": 151,
"g": 79,
"b": 218
},
"hsl": {
"h": 271.079,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.58049,
"c": 0.2058,
"h": 304.6
},
"luminance": 0.17233
}Semantic roles & 50–950 ramp
primary
#974FDA
secondary
#C1DEA7
accent
#E84091
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84