#975CB2#975CB2
#975CB2 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.5% C 0.141 H 314.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #975CB2 |
|---|---|
| RGB | rgb(151, 92, 178) |
| HSL | hsl(281, 36%, 53%) |
| HSV | hsv(281, 48%, 70%) |
| CMYK | cmyk(15.2%, 48.3%, 0%, 30.2%) |
| CIE-LAB | lab(48.82, 39.35, -36.31) |
| CIE-LCH | lch(48.82, 53.54, 317.30°) |
| OKLab | oklab(57.51% 0.0987 -0.1009) |
| OKLCH | oklch(57.51% 0.141 314.4) |
| XYZ | xyz(24.6242, 17.4486, 44.1816) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.69
Deep Lavender
#8D5EB7
ΔE00 2.81
Deep Lilac
#966EBD
ΔE00 5.70
Medium Purple
#9E43A2
ΔE00 6.81
Soft Purple
#A66FB5
ΔE00 6.82
Purply
#983FB2
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975CB2 #77B25C
analogous
#6C5CB2 #975CB2 #B25CA2
triadic
#975CB2 #B2975C #5CB297
tetradic
#975CB2 #B26C5C #77B25C #5CA2B2
square
#975CB2 #B26C5C #77B25C #5CA2B2
split-complementary
#975CB2 #A2B25C #5CB26C
monochromatic
#542F64 #76438E #975CB2 #B286C6 #CCAFD9
Accessibility & contrast
On white
4.68
#975CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#975CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #975CB2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975CB2 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A71B5
Deuteranopia (green-blind)
#5B76B0
Tritanopia (blue-blind)
#95697F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #975cb2; /* rgb */ color: rgb(151, 92, 178); /* oklch */ color: oklch(57.5% 0.141 314.4);
Tailwind
colors: {
custom: {
50: '#b78cc9',
500: '#975cb2',
950: '#000000',
},
}SCSS
$custom: #975cb2; $custom-light: #b78cc9; $custom-dark: #000000;
JSON
{
"hex": "#975cb2",
"rgb": {
"r": 151,
"g": 92,
"b": 178
},
"hsl": {
"h": 281.163,
"s": 35.833,
"l": 52.941
},
"oklch": {
"l": 0.57505,
"c": 0.14114,
"h": 314.4
},
"luminance": 0.17448
}Semantic roles & 50–950 ramp
primary
#975CB2
secondary
#AEC7A2
accent
#CC5C7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82