#975DC4#975DC4
#975DC4 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.160 H 308.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #975DC4 |
|---|---|
| RGB | rgb(151, 93, 196) |
| HSL | hsl(274, 47%, 57%) |
| HSV | hsv(274, 53%, 77%) |
| CMYK | cmyk(23%, 52.6%, 0%, 23.1%) |
| CIE-LAB | lab(49.97, 42.86, -44.92) |
| CIE-LCH | lch(49.97, 62.08, 313.65°) |
| OKLab | oklab(58.66% 0.0992 -0.126) |
| OKLCH | oklch(58.66% 0.16 308.2) |
| XYZ | xyz(26.6387, 18.3939, 54.3609) |
| Luminance | 0.1839 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.49
Deep Lavender
#8D5EB7
ΔE00 2.76
Deep Lilac
#966EBD
ΔE00 5.39
Lightish Purple
#A552E6
ΔE00 5.68
Mediumorchid
#BA55D3
ΔE00 6.64
Purpley
#8756E4
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975DC4 #8AC45D
analogous
#645DC4 #975DC4 #C45DBE
triadic
#975DC4 #C4975D #5DC497
tetradic
#975DC4 #C4645D #8AC45D #5DBEC4
square
#975DC4 #C4645D #8AC45D #5DBEC4
split-complementary
#975DC4 #BEC45D #5DC464
monochromatic
#582C7A #793DA7 #975DC4 #B48AD4 #D1B7E5
Accessibility & contrast
On white
4.49
#975DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#975DC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975DC4
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975DC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975DC4 | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F75C7
Deuteranopia (green-blind)
#5178C1
Tritanopia (blue-blind)
#916F88
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #975dc4; /* rgb */ color: rgb(151, 93, 196); /* oklch */ color: oklch(58.7% 0.160 308.2);
Tailwind
colors: {
custom: {
50: '#b88dd6',
500: '#975dc4',
950: '#000000',
},
}SCSS
$custom: #975dc4; $custom-light: #b88dd6; $custom-dark: #000000;
JSON
{
"hex": "#975dc4",
"rgb": {
"r": 151,
"g": 93,
"b": 196
},
"hsl": {
"h": 273.786,
"s": 46.606,
"l": 56.667
},
"oklch": {
"l": 0.58662,
"c": 0.16036,
"h": 308.2
},
"luminance": 0.18394
}Semantic roles & 50–950 ramp
primary
#975DC4
secondary
#BCD3A9
accent
#D6528C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83