#975FD4#975FD4
#975FD4 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.176 H 303.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #975FD4 |
|---|---|
| RGB | rgb(151, 95, 212) |
| HSL | hsl(269, 58%, 60%) |
| HSV | hsv(269, 55%, 83%) |
| CMYK | cmyk(28.8%, 55.2%, 0%, 16.9%) |
| CIE-LAB | lab(51.29, 45.55, -51.98) |
| CIE-LCH | lch(51.29, 69.12, 311.23°) |
| OKLab | oklab(59.92% 0.0975 -0.1466) |
| OKLCH | oklch(59.92% 0.176 303.6) |
| XYZ | xyz(28.7357, 19.5173, 64.5279) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.89
Lightish Purple
#A552E6
ΔE00 4.02
Lighter Purple
#A55AF4
ΔE00 4.90
Purpley
#8756E4
ΔE00 4.91
Deep Lavender
#8D5EB7
ΔE00 5.04
Mediumpurple
#9370DB
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975FD4 #9CD45F
analogous
#5F62D4 #975FD4 #D15FD4
triadic
#975FD4 #D4975F #5FD497
tetradic
#975FD4 #D45F62 #9CD45F #5FD4D1
square
#975FD4 #D45F62 #9CD45F #5FD4D1
split-complementary
#975FD4 #D4D15F #62D45F
monochromatic
#5A2791 #7834C2 #975FD4 #B68FE1 #D6BFEE
Accessibility & contrast
On white
4.28
#975FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#975FD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975FD4
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975FD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975FD4 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3379D8
Deuteranopia (green-blind)
#467AD1
Tritanopia (blue-blind)
#8C7590
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #975fd4; /* rgb */ color: rgb(151, 95, 212); /* oklch */ color: oklch(59.9% 0.176 303.6);
Tailwind
colors: {
custom: {
50: '#b98ee2',
500: '#975fd4',
950: '#000000',
},
}SCSS
$custom: #975fd4; $custom-light: #b98ee2; $custom-dark: #000000;
JSON
{
"hex": "#975fd4",
"rgb": {
"r": 151,
"g": 95,
"b": 212
},
"hsl": {
"h": 268.718,
"s": 57.635,
"l": 60.196
},
"oklch": {
"l": 0.59924,
"c": 0.17608,
"h": 303.6
},
"luminance": 0.19517
}Semantic roles & 50–950 ramp
primary
#975FD4
secondary
#C8DEB1
accent
#C52076
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83