#975FD1#975FD1
#975FD1 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.173 H 304.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #975FD1 |
|---|---|
| RGB | rgb(151, 95, 209) |
| HSL | hsl(269, 55%, 60%) |
| HSV | hsv(269, 55%, 82%) |
| CMYK | cmyk(27.8%, 54.5%, 0%, 18%) |
| CIE-LAB | lab(51.11, 44.83, -50.55) |
| CIE-LCH | lch(51.11, 67.56, 311.57°) |
| OKLab | oklab(59.74% 0.0974 -0.1424) |
| OKLCH | oklch(59.74% 0.173 304.4) |
| XYZ | xyz(28.3608, 19.3673, 62.5534) |
| Luminance | 0.1937 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.41
Lightish Purple
#A552E6
ΔE00 4.29
Deep Lavender
#8D5EB7
ΔE00 4.59
Purpley
#8756E4
ΔE00 5.23
Mediumpurple
#9370DB
ΔE00 5.25
Lighter Purple
#A55AF4
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975FD1 #99D15F
analogous
#5F60D1 #975FD1 #D05FD1
triadic
#975FD1 #D1975F #5FD197
tetradic
#975FD1 #D15F60 #99D15F #5FD1D0
square
#975FD1 #D15F60 #99D15F #5FD1D0
split-complementary
#975FD1 #D1D05F #60D15F
monochromatic
#5A298D #7836BD #975FD1 #B68FDF #D5BEEC
Accessibility & contrast
On white
4.31
#975FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#975FD1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975FD1
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975FD1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975FD1 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3678D5
Deuteranopia (green-blind)
#497ACE
Tritanopia (blue-blind)
#8D758F
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #975fd1; /* rgb */ color: rgb(151, 95, 209); /* oklch */ color: oklch(59.7% 0.173 304.4);
Tailwind
colors: {
custom: {
50: '#b98ee0',
500: '#975fd1',
950: '#000000',
},
}SCSS
$custom: #975fd1; $custom-light: #b98ee0; $custom-dark: #000000;
JSON
{
"hex": "#975fd1",
"rgb": {
"r": 151,
"g": 95,
"b": 209
},
"hsl": {
"h": 269.474,
"s": 55.34,
"l": 59.608
},
"oklch": {
"l": 0.59741,
"c": 0.17253,
"h": 304.4
},
"luminance": 0.19367
}Semantic roles & 50–950 ramp
primary
#975FD1
secondary
#C6DCB0
accent
#DF4995
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83