#975DB5#975DB5
#975DB5 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.8% C 0.143 H 313.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #975DB5 |
|---|---|
| RGB | rgb(151, 93, 181) |
| HSL | hsl(280, 37%, 54%) |
| HSV | hsv(280, 49%, 71%) |
| CMYK | cmyk(16.6%, 48.6%, 0%, 29%) |
| CIE-LAB | lab(49.19, 39.46, -37.48) |
| CIE-LCH | lch(49.19, 54.42, 316.47°) |
| OKLab | oklab(57.83% 0.0977 -0.1043) |
| OKLCH | oklch(57.83% 0.143 313.1) |
| XYZ | xyz(25.0159, 17.7448, 45.8144) |
| Luminance | 0.1774 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.09
Deep Lavender
#8D5EB7
ΔE00 2.45
Deep Lilac
#966EBD
ΔE00 5.28
Soft Purple
#A66FB5
ΔE00 6.73
Purply
#983FB2
ΔE00 7.27
Dark Lilac
#9C6DA5
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975DB5 #7BB55D
analogous
#6B5DB5 #975DB5 #B55DA7
triadic
#975DB5 #B5975D #5DB597
tetradic
#975DB5 #B56B5D #7BB55D #5DA7B5
square
#975DB5 #B56B5D #7BB55D #5DA7B5
split-complementary
#975DB5 #A7B55D #5DB56B
monochromatic
#553068 #774392 #975DB5 #B287C8 #CDB1DB
Accessibility & contrast
On white
4.62
#975DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#975DB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #975DB5
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975DB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975DB5 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A72B8
Deuteranopia (green-blind)
#5A76B3
Tritanopia (blue-blind)
#946B80
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #975db5; /* rgb */ color: rgb(151, 93, 181); /* oklch */ color: oklch(57.8% 0.143 313.1);
Tailwind
colors: {
custom: {
50: '#b78ccb',
500: '#975db5',
950: '#000000',
},
}SCSS
$custom: #975db5; $custom-light: #b78ccb; $custom-dark: #000000;
JSON
{
"hex": "#975db5",
"rgb": {
"r": 151,
"g": 93,
"b": 181
},
"hsl": {
"h": 279.545,
"s": 37.288,
"l": 53.725
},
"oklch": {
"l": 0.57825,
"c": 0.14289,
"h": 313.1
},
"luminance": 0.17744
}Semantic roles & 50–950 ramp
primary
#975DB5
secondary
#B1CAA4
accent
#CD5B82
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82