#975AC2#975AC2
#975AC2 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.163 H 309.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #975AC2 |
|---|---|
| RGB | rgb(151, 90, 194) |
| HSL | hsl(275, 46%, 56%) |
| HSV | hsv(275, 54%, 76%) |
| CMYK | cmyk(22.2%, 53.6%, 0%, 23.9%) |
| CIE-LAB | lab(49.24, 44.02, -44.93) |
| CIE-LCH | lch(49.24, 62.90, 314.41°) |
| OKLab | oklab(58.09% 0.1031 -0.126) |
| OKLCH | oklch(58.09% 0.163 309.3) |
| XYZ | xyz(26.1544, 17.7871, 53.0839) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.85
Deep Lavender
#8D5EB7
ΔE00 2.73
Lightish Purple
#A552E6
ΔE00 5.77
Deep Lilac
#966EBD
ΔE00 6.10
Mediumorchid
#BA55D3
ΔE00 6.70
Purpley
#8756E4
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975AC2 #85C25A
analogous
#635AC2 #975AC2 #C25AB9
triadic
#975AC2 #C2975A #5AC297
tetradic
#975AC2 #C2635A #85C25A #5AB9C2
square
#975AC2 #C2635A #85C25A #5AB9C2
split-complementary
#975AC2 #B9C25A #5AC263
monochromatic
#572C76 #783CA3 #975AC2 #B387D3 #CFB3E3
Accessibility & contrast
On white
4.61
#975AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#975AC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #975AC2
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975AC2 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B72C5
Deuteranopia (green-blind)
#4F76BF
Tritanopia (blue-blind)
#916C85
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #975ac2; /* rgb */ color: rgb(151, 90, 194); /* oklch */ color: oklch(58.1% 0.163 309.3);
Tailwind
colors: {
custom: {
50: '#b88bd5',
500: '#975ac2',
950: '#000000',
},
}SCSS
$custom: #975ac2; $custom-light: #b88bd5; $custom-dark: #000000;
JSON
{
"hex": "#975ac2",
"rgb": {
"r": 151,
"g": 90,
"b": 194
},
"hsl": {
"h": 275.192,
"s": 46.018,
"l": 55.686
},
"oklch": {
"l": 0.58085,
"c": 0.16282,
"h": 309.3
},
"luminance": 0.17787
}Semantic roles & 50–950 ramp
primary
#975AC2
secondary
#B8D2A6
accent
#D65289
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83