#974CCF#974CCF
#974CCF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.198 H 307.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #974CCF |
|---|---|
| RGB | rgb(151, 76, 207) |
| HSL | hsl(274, 58%, 55%) |
| HSV | hsv(274, 63%, 81%) |
| CMYK | cmyk(27.1%, 63.3%, 0%, 18.8%) |
| CIE-LAB | lab(47.31, 54.21, -55.51) |
| CIE-LCH | lch(47.31, 77.59, 314.33°) |
| OKLab | oklab(56.92% 0.1209 -0.1569) |
| OKLCH | oklch(56.92% 0.198 307.6) |
| XYZ | xyz(26.6071, 16.2535, 60.7550) |
| Luminance | 0.1625 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.60
Darkorchid
#9932CC
ΔE00 4.79
Purpley
#8756E4
ΔE00 5.24
Purply
#983FB2
ΔE00 5.70
Amethyst
#9B5FC0
ΔE00 5.71
Deep Lavender
#8D5EB7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974CCF #84CF4C
analogous
#554CCF #974CCF #CF4CC5
triadic
#974CCF #CF974C #4CCF97
tetradic
#974CCF #CF554C #84CF4C #4CC5CF
square
#974CCF #CF554C #84CF4C #4CC5CF
split-complementary
#974CCF #C5CF4C #4CCF55
monochromatic
#57227F #782FAF #974CCF #B37CDC #CFADE9
Accessibility & contrast
On white
4.94
#974CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#974CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974CCF
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974CCF | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#8E6787
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #974ccf; /* rgb */ color: rgb(151, 76, 207); /* oklch */ color: oklch(56.9% 0.198 307.6);
Tailwind
colors: {
custom: {
50: '#b982de',
500: '#974ccf',
950: '#000000',
},
}SCSS
$custom: #974ccf; $custom-light: #b982de; $custom-dark: #000000;
JSON
{
"hex": "#974ccf",
"rgb": {
"r": 151,
"g": 76,
"b": 207
},
"hsl": {
"h": 274.351,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.56922,
"c": 0.19805,
"h": 307.6
},
"luminance": 0.16253
}Semantic roles & 50–950 ramp
primary
#974CCF
secondary
#B7D7A0
accent
#E14789
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83