#975FA8#975FA8
#975FA8 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.5% C 0.125 H 318.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #975FA8 |
|---|---|
| RGB | rgb(151, 95, 168) |
| HSL | hsl(286, 30%, 52%) |
| HSV | hsv(286, 43%, 66%) |
| CMYK | cmyk(10.1%, 43.5%, 0%, 34.1%) |
| CIE-LAB | lab(49.00, 35.53, -30.18) |
| CIE-LCH | lch(49.00, 46.62, 319.65°) |
| OKLab | oklab(57.48% 0.0926 -0.0833) |
| OKLCH | oklch(57.48% 0.125 318) |
| XYZ | xyz(23.9216, 17.5916, 39.1736) |
| Luminance | 0.1759 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.65
Amethyst
#9B5FC0
ΔE00 4.74
Dark Lilac
#9C6DA5
ΔE00 5.15
Soft Purple
#A66FB5
ΔE00 5.87
Deep Lilac
#966EBD
ΔE00 6.03
Dark Lavender
#856798
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975FA8 #70A85F
analogous
#735FA8 #975FA8 #A85F95
triadic
#975FA8 #A8975F #5FA897
tetradic
#975FA8 #A8735F #70A85F #5F95A8
square
#975FA8 #A8735F #70A85F #5F95A8
split-complementary
#975FA8 #95A85F #5FA873
monochromatic
#51325B #754783 #975FA8 #B187BE #CBAED3
Accessibility & contrast
On white
4.65
#975FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#975FA8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #975FA8
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975FA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975FA8 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5371AB
Deuteranopia (green-blind)
#6276A6
Tritanopia (blue-blind)
#97697B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #975fa8; /* rgb */ color: rgb(151, 95, 168); /* oklch */ color: oklch(57.5% 0.125 318.0);
Tailwind
colors: {
custom: {
50: '#b78ec2',
500: '#975fa8',
950: '#000000',
},
}SCSS
$custom: #975fa8; $custom-light: #b78ec2; $custom-dark: #000000;
JSON
{
"hex": "#975fa8",
"rgb": {
"r": 151,
"g": 95,
"b": 168
},
"hsl": {
"h": 286.027,
"s": 29.555,
"l": 51.569
},
"oklch": {
"l": 0.5748,
"c": 0.12453,
"h": 318
},
"luminance": 0.17591
}Semantic roles & 50–950 ramp
primary
#975FA8
secondary
#A9C1A1
accent
#C66279
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81