#975FD6#975FD6
#975FD6 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.0% C 0.178 H 303.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #975FD6 |
|---|---|
| RGB | rgb(151, 95, 214) |
| HSL | hsl(268, 59%, 61%) |
| HSV | hsv(268, 56%, 84%) |
| CMYK | cmyk(29.4%, 55.6%, 0%, 16.1%) |
| CIE-LAB | lab(51.40, 46.03, -52.93) |
| CIE-LCH | lch(51.40, 70.15, 311.01°) |
| OKLab | oklab(60.05% 0.0976 -0.1494) |
| OKLCH | oklch(60.05% 0.178 303.1) |
| XYZ | xyz(28.9896, 19.6188, 65.8649) |
| Luminance | 0.1962 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.87
Amethyst
#9B5FC0
ΔE00 4.20
Lighter Purple
#A55AF4
ΔE00 4.63
Purpley
#8756E4
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 4.97
Deep Lavender
#8D5EB7
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975FD6 #9ED65F
analogous
#5F62D6 #975FD6 #D25FD6
triadic
#975FD6 #D6975F #5FD697
tetradic
#975FD6 #D65F62 #9ED65F #5FD6D2
square
#975FD6 #D65F62 #9ED65F #5FD6D2
split-complementary
#975FD6 #D6D25F #62D65F
monochromatic
#5A2695 #7833C5 #975FD6 #B790E2 #D6C0EF
Accessibility & contrast
On white
4.26
#975FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#975FD6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975FD6
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975FD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975FD6 | 1.00 | 4.26 | 4.92 | 4.92 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3079DA
Deuteranopia (green-blind)
#457AD3
Tritanopia (blue-blind)
#8B7691
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #975fd6; /* rgb */ color: rgb(151, 95, 214); /* oklch */ color: oklch(60.0% 0.178 303.1);
Tailwind
colors: {
custom: {
50: '#b98ee3',
500: '#975fd6',
950: '#000000',
},
}SCSS
$custom: #975fd6; $custom-light: #b98ee3; $custom-dark: #000000;
JSON
{
"hex": "#975fd6",
"rgb": {
"r": 151,
"g": 95,
"b": 214
},
"hsl": {
"h": 268.235,
"s": 59.204,
"l": 60.588
},
"oklch": {
"l": 0.60047,
"c": 0.17845,
"h": 303.1
},
"luminance": 0.19619
}Semantic roles & 50–950 ramp
primary
#975FD6
secondary
#CADFB2
accent
#C71F78
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C15
muted
#817D84