#975FC5#975FC5
#975FC5 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.0% C 0.158 H 307.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #975FC5 |
|---|---|
| RGB | rgb(151, 95, 197) |
| HSL | hsl(273, 47%, 57%) |
| HSV | hsv(273, 52%, 77%) |
| CMYK | cmyk(23.4%, 51.8%, 0%, 22.7%) |
| CIE-LAB | lab(50.45, 41.99, -44.74) |
| CIE-LCH | lch(50.45, 61.36, 313.19°) |
| OKLab | oklab(59.03% 0.0966 -0.1254) |
| OKLCH | oklch(59.03% 0.158 307.6) |
| XYZ | xyz(26.9307, 18.7953, 55.0216) |
| Luminance | 0.1880 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.48
Deep Lavender
#8D5EB7
ΔE00 2.89
Deep Lilac
#966EBD
ΔE00 4.92
Lightish Purple
#A552E6
ΔE00 5.74
Mediumpurple
#9370DB
ΔE00 6.37
Mediumorchid
#BA55D3
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975FC5 #8DC55F
analogous
#645FC5 #975FC5 #C55FC0
triadic
#975FC5 #C5975F #5FC597
tetradic
#975FC5 #C5645F #8DC55F #5FC0C5
square
#975FC5 #C5645F #8DC55F #5FC0C5
split-complementary
#975FC5 #C0C55F #5FC564
monochromatic
#592D7C #793DA9 #975FC5 #B48CD5 #D1B9E6
Accessibility & contrast
On white
4.41
#975FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#975FC5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975FC5
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975FC5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975FC5 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4176C8
Deuteranopia (green-blind)
#5279C2
Tritanopia (blue-blind)
#907189
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #975fc5; /* rgb */ color: rgb(151, 95, 197); /* oklch */ color: oklch(59.0% 0.158 307.6);
Tailwind
colors: {
custom: {
50: '#b88ed7',
500: '#975fc5',
950: '#000000',
},
}SCSS
$custom: #975fc5; $custom-light: #b88ed7; $custom-dark: #000000;
JSON
{
"hex": "#975fc5",
"rgb": {
"r": 151,
"g": 95,
"b": 197
},
"hsl": {
"h": 272.941,
"s": 46.789,
"l": 57.255
},
"oklch": {
"l": 0.59032,
"c": 0.15833,
"h": 307.6
},
"luminance": 0.18795
}Semantic roles & 50–950 ramp
primary
#975FC5
secondary
#BED5AB
accent
#D6518D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83