#975FD3#975FD3
#975FD3 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.175 H 303.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #975FD3 |
|---|---|
| RGB | rgb(151, 95, 211) |
| HSL | hsl(269, 57%, 60%) |
| HSV | hsv(269, 55%, 83%) |
| CMYK | cmyk(28.4%, 55%, 0%, 17.3%) |
| CIE-LAB | lab(51.23, 45.31, -51.50) |
| CIE-LCH | lch(51.23, 68.60, 311.34°) |
| OKLab | oklab(59.86% 0.0975 -0.1452) |
| OKLCH | oklch(59.86% 0.175 303.9) |
| XYZ | xyz(28.6100, 19.4670, 63.8656) |
| Luminance | 0.1947 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.73
Lightish Purple
#A552E6
ΔE00 4.10
Deep Lavender
#8D5EB7
ΔE00 4.89
Purpley
#8756E4
ΔE00 5.01
Lighter Purple
#A55AF4
ΔE00 5.04
Mediumpurple
#9370DB
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975FD3 #9BD35F
analogous
#5F61D3 #975FD3 #D15FD3
triadic
#975FD3 #D3975F #5FD397
tetradic
#975FD3 #D35F61 #9BD35F #5FD3D1
square
#975FD3 #D35F61 #9BD35F #5FD3D1
split-complementary
#975FD3 #D3D15F #61D35F
monochromatic
#5A2890 #7835C0 #975FD3 #B68FE0 #D5BFED
Accessibility & contrast
On white
4.29
#975FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#975FD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975FD3
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975FD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975FD3 | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3479D7
Deuteranopia (green-blind)
#477AD0
Tritanopia (blue-blind)
#8C7590
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #975fd3; /* rgb */ color: rgb(151, 95, 211); /* oklch */ color: oklch(59.9% 0.175 303.9);
Tailwind
colors: {
custom: {
50: '#b98ee1',
500: '#975fd3',
950: '#000000',
},
}SCSS
$custom: #975fd3; $custom-light: #b98ee1; $custom-dark: #000000;
JSON
{
"hex": "#975fd3",
"rgb": {
"r": 151,
"g": 95,
"b": 211
},
"hsl": {
"h": 268.966,
"s": 56.863,
"l": 60
},
"oklch": {
"l": 0.59863,
"c": 0.17491,
"h": 303.9
},
"luminance": 0.19467
}Semantic roles & 50–950 ramp
primary
#975FD3
secondary
#C8DDB1
accent
#E04897
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83