#975DC7#975DC7
#975DC7 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.164 H 307.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #975DC7 |
|---|---|
| RGB | rgb(151, 93, 199) |
| HSL | hsl(273, 49%, 57%) |
| HSV | hsv(273, 53%, 78%) |
| CMYK | cmyk(24.1%, 53.3%, 0%, 22%) |
| CIE-LAB | lab(50.13, 43.55, -46.38) |
| CIE-LCH | lch(50.13, 63.63, 313.20°) |
| OKLab | oklab(58.84% 0.0995 -0.1302) |
| OKLCH | oklch(58.84% 0.164 307.4) |
| XYZ | xyz(26.9836, 18.5318, 56.1772) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.91
Deep Lavender
#8D5EB7
ΔE00 3.13
Lightish Purple
#A552E6
ΔE00 5.25
Deep Lilac
#966EBD
ΔE00 5.57
Purpley
#8756E4
ΔE00 6.34
Mediumpurple
#9370DB
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975DC7 #8DC75D
analogous
#625DC7 #975DC7 #C75DC2
triadic
#975DC7 #C7975D #5DC797
tetradic
#975DC7 #C7625D #8DC75D #5DC2C7
square
#975DC7 #C7625D #8DC75D #5DC2C7
split-complementary
#975DC7 #C2C75D #5DC762
monochromatic
#592C7E #793BAC #975DC7 #B48AD7 #D1B8E6
Accessibility & contrast
On white
4.46
#975DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#975DC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975DC7
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975DC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975DC7 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C75CB
Deuteranopia (green-blind)
#4F78C4
Tritanopia (blue-blind)
#907089
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #975dc7; /* rgb */ color: rgb(151, 93, 199); /* oklch */ color: oklch(58.8% 0.164 307.4);
Tailwind
colors: {
custom: {
50: '#b88dd8',
500: '#975dc7',
950: '#000000',
},
}SCSS
$custom: #975dc7; $custom-light: #b88dd8; $custom-dark: #000000;
JSON
{
"hex": "#975dc7",
"rgb": {
"r": 151,
"g": 93,
"b": 199
},
"hsl": {
"h": 272.83,
"s": 48.624,
"l": 57.255
},
"oklch": {
"l": 0.58837,
"c": 0.16387,
"h": 307.4
},
"luminance": 0.18532
}Semantic roles & 50–950 ramp
primary
#975DC7
secondary
#BED5AA
accent
#D8508D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83