#975DC2#975DC2
#975DC2 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.5% C 0.158 H 308.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #975DC2 |
|---|---|
| RGB | rgb(151, 93, 194) |
| HSL | hsl(274, 45%, 56%) |
| HSV | hsv(274, 52%, 76%) |
| CMYK | cmyk(22.2%, 52.1%, 0%, 23.9%) |
| CIE-LAB | lab(49.86, 42.39, -43.94) |
| CIE-LCH | lch(49.86, 61.06, 313.98°) |
| OKLab | oklab(58.55% 0.0991 -0.1231) |
| OKLCH | oklch(58.55% 0.158 308.8) |
| XYZ | xyz(26.4126, 18.3034, 53.1700) |
| Luminance | 0.1830 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.26
Deep Lavender
#8D5EB7
ΔE00 2.54
Deep Lilac
#966EBD
ΔE00 5.30
Lightish Purple
#A552E6
ΔE00 5.98
Mediumorchid
#BA55D3
ΔE00 6.69
Purpley
#8756E4
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975DC2 #88C25D
analogous
#655DC2 #975DC2 #C25DBB
triadic
#975DC2 #C2975D #5DC297
tetradic
#975DC2 #C2655D #88C25D #5DBBC2
square
#975DC2 #C2655D #88C25D #5DBBC2
split-complementary
#975DC2 #BBC25D #5DC265
monochromatic
#582D78 #783EA4 #975DC2 #B489D3 #D0B6E3
Accessibility & contrast
On white
4.51
#975DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#975DC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975DC2
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975DC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975DC2 | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4074C5
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#916E87
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #975dc2; /* rgb */ color: rgb(151, 93, 194); /* oklch */ color: oklch(58.5% 0.158 308.8);
Tailwind
colors: {
custom: {
50: '#b88dd5',
500: '#975dc2',
950: '#000000',
},
}SCSS
$custom: #975dc2; $custom-light: #b88dd5; $custom-dark: #000000;
JSON
{
"hex": "#975dc2",
"rgb": {
"r": 151,
"g": 93,
"b": 194
},
"hsl": {
"h": 274.455,
"s": 45.291,
"l": 56.275
},
"oklch": {
"l": 0.58547,
"c": 0.15801,
"h": 308.8
},
"luminance": 0.18303
}Semantic roles & 50–950 ramp
primary
#975DC2
secondary
#BAD2A9
accent
#D5538A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83