#975CCD#975CCD
#975CCD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.172 H 305.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #975CCD |
|---|---|
| RGB | rgb(151, 92, 205) |
| HSL | hsl(271, 53%, 58%) |
| HSV | hsv(271, 55%, 80%) |
| CMYK | cmyk(26.3%, 55.1%, 0%, 19.6%) |
| CIE-LAB | lab(50.27, 45.50, -49.62) |
| CIE-LCH | lch(50.27, 67.32, 312.52°) |
| OKLab | oklab(59.04% 0.1011 -0.1397) |
| OKLCH | oklch(59.04% 0.172 305.9) |
| XYZ | xyz(27.6068, 18.6416, 59.8896) |
| Luminance | 0.1864 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.91
Deep Lavender
#8D5EB7
ΔE00 3.99
Lightish Purple
#A552E6
ΔE00 4.37
Purpley
#8756E4
ΔE00 5.39
Lighter Purple
#A55AF4
ΔE00 5.92
Deep Lilac
#966EBD
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975CCD #92CD5C
analogous
#5E5CCD #975CCD #CD5CCB
triadic
#975CCD #CD975C #5CCD97
tetradic
#975CCD #CD5E5C #92CD5C #5CCBCD
square
#975CCD #CD5E5C #92CD5C #5CCBCD
split-complementary
#975CCD #CBCD5C #5CCD5E
monochromatic
#592986 #7937B4 #975CCD #B58BDB #D3BAEA
Accessibility & contrast
On white
4.44
#975CCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#975CCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975CCD
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975CCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975CCD | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3476D1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#8E718C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #975ccd; /* rgb */ color: rgb(151, 92, 205); /* oklch */ color: oklch(59.0% 0.172 305.9);
Tailwind
colors: {
custom: {
50: '#b98cdd',
500: '#975ccd',
950: '#000000',
},
}SCSS
$custom: #975ccd; $custom-light: #b98cdd; $custom-dark: #000000;
JSON
{
"hex": "#975ccd",
"rgb": {
"r": 151,
"g": 92,
"b": 205
},
"hsl": {
"h": 271.327,
"s": 53.052,
"l": 58.235
},
"oklch": {
"l": 0.59042,
"c": 0.17244,
"h": 305.9
},
"luminance": 0.18641
}Semantic roles & 50–950 ramp
primary
#975CCD
secondary
#C1D9AC
accent
#DC4B91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83