#974FC2#974FC2
#974FC2 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.180 H 310.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #974FC2 |
|---|---|
| RGB | rgb(151, 79, 194) |
| HSL | hsl(278, 49%, 54%) |
| HSV | hsv(278, 59%, 76%) |
| CMYK | cmyk(22.2%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(47.06, 49.79, -48.40) |
| CIE-LCH | lch(47.06, 69.44, 315.81°) |
| OKLab | oklab(56.49% 0.1175 -0.1361) |
| OKLCH | oklch(56.49% 0.18 310.8) |
| XYZ | xyz(25.2943, 16.0668, 52.7972) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.45
Purply
#983FB2
ΔE00 4.48
Deep Lavender
#8D5EB7
ΔE00 4.56
Darkorchid
#9932CC
ΔE00 5.52
Lightish Purple
#A552E6
ΔE00 5.96
Royal Purple
#7851A9
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974FC2 #7AC24F
analogous
#5D4FC2 #974FC2 #C24FB3
triadic
#974FC2 #C2974F #4FC297
tetradic
#974FC2 #C25D4F #7AC24F #4FB3C2
square
#974FC2 #C25D4F #7AC24F #4FB3C2
split-complementary
#974FC2 #B3C24F #4FC25D
monochromatic
#552770 #77379D #974FC2 #B27CD2 #CDAAE2
Accessibility & contrast
On white
4.98
#974FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#974FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974FC2
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974FC2 | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256CC6
Deuteranopia (green-blind)
#4471BF
Tritanopia (blue-blind)
#926481
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #974fc2; /* rgb */ color: rgb(151, 79, 194); /* oklch */ color: oklch(56.5% 0.180 310.8);
Tailwind
colors: {
custom: {
50: '#b984d5',
500: '#974fc2',
950: '#000000',
},
}SCSS
$custom: #974fc2; $custom-light: #b984d5; $custom-dark: #000000;
JSON
{
"hex": "#974fc2",
"rgb": {
"r": 151,
"g": 79,
"b": 194
},
"hsl": {
"h": 277.565,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.56491,
"c": 0.17979,
"h": 310.8
},
"luminance": 0.16066
}Semantic roles & 50–950 ramp
primary
#974FC2
secondary
#B0CF9E
accent
#D85083
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83