#975AC8#975AC8
#975AC8 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.170 H 307.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #975AC8 |
|---|---|
| RGB | rgb(151, 90, 200) |
| HSL | hsl(273, 50%, 57%) |
| HSV | hsv(273, 55%, 78%) |
| CMYK | cmyk(24.5%, 55%, 0%, 21.6%) |
| CIE-LAB | lab(49.57, 45.41, -47.86) |
| CIE-LCH | lch(49.57, 65.97, 313.50°) |
| OKLab | oklab(58.44% 0.1035 -0.1345) |
| OKLCH | oklch(58.44% 0.17 307.6) |
| XYZ | xyz(26.8419, 18.0621, 56.7047) |
| Luminance | 0.1806 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.45
Deep Lavender
#8D5EB7
ΔE00 3.41
Lightish Purple
#A552E6
ΔE00 4.88
Purpley
#8756E4
ΔE00 5.96
Deep Lilac
#966EBD
ΔE00 6.38
Mediumorchid
#BA55D3
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975AC8 #8BC85A
analogous
#605AC8 #975AC8 #C85AC2
triadic
#975AC8 #C8975A #5AC897
tetradic
#975AC8 #C8605A #8BC85A #5AC2C8
square
#975AC8 #C8605A #8BC85A #5AC2C8
split-complementary
#975AC8 #C2C85A #5AC860
monochromatic
#582A7E #7939AC #975AC8 #B488D7 #D1B6E7
Accessibility & contrast
On white
4.55
#975AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#975AC8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975AC8
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975AC8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975AC8 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3674CC
Deuteranopia (green-blind)
#4B77C5
Tritanopia (blue-blind)
#906E88
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #975ac8; /* rgb */ color: rgb(151, 90, 200); /* oklch */ color: oklch(58.4% 0.170 307.6);
Tailwind
colors: {
custom: {
50: '#b88bd9',
500: '#975ac8',
950: '#000000',
},
}SCSS
$custom: #975ac8; $custom-light: #b88bd9; $custom-dark: #000000;
JSON
{
"hex": "#975ac8",
"rgb": {
"r": 151,
"g": 90,
"b": 200
},
"hsl": {
"h": 273.273,
"s": 50,
"l": 56.863
},
"oklch": {
"l": 0.5844,
"c": 0.16973,
"h": 307.6
},
"luminance": 0.18062
}Semantic roles & 50–950 ramp
primary
#975AC8
secondary
#BCD5A8
accent
#DA4E8C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83