#975CC4#975CC4
#975CC4 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.162 H 308.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #975CC4 |
|---|---|
| RGB | rgb(151, 92, 196) |
| HSL | hsl(274, 47%, 56%) |
| HSV | hsv(274, 53%, 77%) |
| CMYK | cmyk(23%, 53.1%, 0%, 23.1%) |
| CIE-LAB | lab(49.76, 43.40, -45.25) |
| CIE-LCH | lch(49.76, 62.70, 313.80°) |
| OKLab | oklab(58.51% 0.1006 -0.1269) |
| OKLCH | oklch(58.51% 0.162 308.4) |
| XYZ | xyz(26.5515, 18.2195, 54.3318) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.64
Deep Lavender
#8D5EB7
ΔE00 2.79
Lightish Purple
#A552E6
ΔE00 5.59
Deep Lilac
#966EBD
ΔE00 5.66
Mediumorchid
#BA55D3
ΔE00 6.63
Purpley
#8756E4
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975CC4 #89C45C
analogous
#635CC4 #975CC4 #C45CBD
triadic
#975CC4 #C4975C #5CC497
tetradic
#975CC4 #C4635C #89C45C #5CBDC4
square
#975CC4 #C4635C #89C45C #5CBDC4
split-complementary
#975CC4 #BDC45C #5CC463
monochromatic
#582C7A #793CA7 #975CC4 #B489D4 #D0B6E5
Accessibility & contrast
On white
4.52
#975CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#975CC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975CC4
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975CC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975CC4 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D74C8
Deuteranopia (green-blind)
#5077C1
Tritanopia (blue-blind)
#916E87
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #975cc4; /* rgb */ color: rgb(151, 92, 196); /* oklch */ color: oklch(58.5% 0.162 308.4);
Tailwind
colors: {
custom: {
50: '#b88cd6',
500: '#975cc4',
950: '#000000',
},
}SCSS
$custom: #975cc4; $custom-light: #b88cd6; $custom-dark: #000000;
JSON
{
"hex": "#975cc4",
"rgb": {
"r": 151,
"g": 92,
"b": 196
},
"hsl": {
"h": 274.038,
"s": 46.847,
"l": 56.471
},
"oklch": {
"l": 0.58508,
"c": 0.16196,
"h": 308.4
},
"luminance": 0.18219
}Semantic roles & 50–950 ramp
primary
#975CC4
secondary
#BBD3A9
accent
#D6518B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83