#974CF3#974CF3
#974CF3 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.5% C 0.236 H 299.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #974CF3 |
|---|---|
| RGB | rgb(151, 76, 243) |
| HSL | hsl(267, 87%, 63%) |
| HSV | hsv(267, 69%, 95%) |
| CMYK | cmyk(37.9%, 68.7%, 0%, 4.7%) |
| CIE-LAB | lab(49.76, 62.64, -71.95) |
| CIE-LCH | lch(49.76, 95.39, 311.04°) |
| OKLab | oklab(59.46% 0.117 -0.2052) |
| OKLCH | oklch(59.46% 0.236 299.7) |
| XYZ | xyz(31.5206, 18.2189, 86.6326) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.45
Lightish Purple
#A552E6
ΔE00 3.61
Lighter Purple
#A55AF4
ΔE00 4.36
Electric Purple
#AA23FF
ΔE00 5.00
Bright Violet
#AD0AFD
ΔE00 6.22
Neon Purple
#BC13FE
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974CF3 #A8F34C
analogous
#4C54F3 #974CF3 #EB4CF3
triadic
#974CF3 #F3974C #4CF397
tetradic
#974CF3 #F34C54 #A8F34C #4CF3EB
square
#974CF3 #F34C54 #A8F34C #4CF3EB
split-complementary
#974CF3 #F3EB4C #54F34C
monochromatic
#5A0CB8 #7613EF #974CF3 #B885F7 #DABFFB
Accessibility & contrast
On white
4.52
#974CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#974CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #974CF3
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##974CF3 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#82749A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #974cf3; /* rgb */ color: rgb(151, 76, 243); /* oklch */ color: oklch(59.5% 0.236 299.7);
Tailwind
colors: {
custom: {
50: '#bc83f8',
500: '#974cf3',
950: '#000000',
},
}SCSS
$custom: #974cf3; $custom-light: #bc83f8; $custom-dark: #000000;
JSON
{
"hex": "#974cf3",
"rgb": {
"r": 151,
"g": 76,
"b": 243
},
"hsl": {
"h": 266.946,
"s": 87.435,
"l": 62.549
},
"oklch": {
"l": 0.59461,
"c": 0.23621,
"h": 299.7
},
"luminance": 0.18219
}Semantic roles & 50–950 ramp
primary
#974CF3
secondary
#D0ECAF
accent
#E4027E
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85