#975CCC#975CCC
#975CCC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.171 H 306.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #975CCC |
|---|---|
| RGB | rgb(151, 92, 204) |
| HSL | hsl(272, 52%, 58%) |
| HSV | hsv(272, 55%, 80%) |
| CMYK | cmyk(26%, 54.9%, 0%, 20%) |
| CIE-LAB | lab(50.21, 45.27, -49.14) |
| CIE-LCH | lch(50.21, 66.81, 312.65°) |
| OKLab | oklab(58.98% 0.1011 -0.1383) |
| OKLCH | oklch(58.98% 0.171 306.2) |
| XYZ | xyz(27.4864, 18.5935, 59.2559) |
| Luminance | 0.1859 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.76
Deep Lavender
#8D5EB7
ΔE00 3.85
Lightish Purple
#A552E6
ΔE00 4.49
Purpley
#8756E4
ΔE00 5.53
Lighter Purple
#A55AF4
ΔE00 6.08
Deep Lilac
#966EBD
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975CCC #91CC5C
analogous
#5F5CCC #975CCC #CC5CC9
triadic
#975CCC #CC975C #5CCC97
tetradic
#975CCC #CC5F5C #91CC5C #5CC9CC
square
#975CCC #CC5F5C #91CC5C #5CC9CC
split-complementary
#975CCC #C9CC5C #5CCC5F
monochromatic
#592984 #7938B3 #975CCC #B58BDB #D2B9E9
Accessibility & contrast
On white
4.45
#975CCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#975CCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975CCC
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975CCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975CCC | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3575D0
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#8E718B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #975ccc; /* rgb */ color: rgb(151, 92, 204); /* oklch */ color: oklch(59.0% 0.171 306.2);
Tailwind
colors: {
custom: {
50: '#b88cdc',
500: '#975ccc',
950: '#000000',
},
}SCSS
$custom: #975ccc; $custom-light: #b88cdc; $custom-dark: #000000;
JSON
{
"hex": "#975ccc",
"rgb": {
"r": 151,
"g": 92,
"b": 204
},
"hsl": {
"h": 271.607,
"s": 52.336,
"l": 58.039
},
"oklch": {
"l": 0.58982,
"c": 0.17127,
"h": 306.2
},
"luminance": 0.18593
}Semantic roles & 50–950 ramp
primary
#975CCC
secondary
#C1D8AC
accent
#DC4C90
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83