#975FD2#975FD2
#975FD2 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.8% C 0.174 H 304.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #975FD2 |
|---|---|
| RGB | rgb(151, 95, 210) |
| HSL | hsl(269, 56%, 60%) |
| HSV | hsv(269, 55%, 82%) |
| CMYK | cmyk(28.1%, 54.8%, 0%, 17.6%) |
| CIE-LAB | lab(51.17, 45.07, -51.03) |
| CIE-LCH | lch(51.17, 68.08, 311.45°) |
| OKLab | oklab(59.8% 0.0974 -0.1438) |
| OKLCH | oklch(59.8% 0.174 304.1) |
| XYZ | xyz(28.4850, 19.4170, 63.2075) |
| Luminance | 0.1942 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.57
Lightish Purple
#A552E6
ΔE00 4.19
Deep Lavender
#8D5EB7
ΔE00 4.74
Purpley
#8756E4
ΔE00 5.12
Lighter Purple
#A55AF4
ΔE00 5.18
Mediumpurple
#9370DB
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975FD2 #9AD25F
analogous
#5F61D2 #975FD2 #D05FD2
triadic
#975FD2 #D2975F #5FD297
tetradic
#975FD2 #D25F61 #9AD25F #5FD2D0
square
#975FD2 #D25F61 #9AD25F #5FD2D0
split-complementary
#975FD2 #D2D05F #61D25F
monochromatic
#5A288F #7836BE #975FD2 #B68FDF #D5BFED
Accessibility & contrast
On white
4.30
#975FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#975FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975FD2
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975FD2 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3578D6
Deuteranopia (green-blind)
#487ACF
Tritanopia (blue-blind)
#8D758F
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #975fd2; /* rgb */ color: rgb(151, 95, 210); /* oklch */ color: oklch(59.8% 0.174 304.1);
Tailwind
colors: {
custom: {
50: '#b98ee0',
500: '#975fd2',
950: '#000000',
},
}SCSS
$custom: #975fd2; $custom-light: #b98ee0; $custom-dark: #000000;
JSON
{
"hex": "#975fd2",
"rgb": {
"r": 151,
"g": 95,
"b": 210
},
"hsl": {
"h": 269.217,
"s": 56.098,
"l": 59.804
},
"oklch": {
"l": 0.59802,
"c": 0.17372,
"h": 304.1
},
"luminance": 0.19417
}Semantic roles & 50–950 ramp
primary
#975FD2
secondary
#C7DDB0
accent
#DF4896
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83