#975EE5#975EE5
#975EE5 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.9% C 0.198 H 300.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #975EE5 |
|---|---|
| RGB | rgb(151, 94, 229) |
| HSL | hsl(265, 72%, 63%) |
| HSV | hsv(265, 59%, 90%) |
| CMYK | cmyk(34.1%, 59%, 0%, 10.2%) |
| CIE-LAB | lab(52.11, 50.25, -60.29) |
| CIE-LCH | lch(52.11, 78.48, 309.81°) |
| OKLab | oklab(60.86% 0.0988 -0.171) |
| OKLCH | oklch(60.86% 0.198 300) |
| XYZ | xyz(30.9046, 20.2416, 76.3924) |
| Luminance | 0.2024 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.97
Lightish Purple
#A552E6
ΔE00 3.37
Purpley
#8756E4
ΔE00 3.82
Mediumpurple
#9370DB
ΔE00 5.10
Mediumslateblue
#7B68EE
ΔE00 6.15
Amethyst
#9B5FC0
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975EE5 #ACE55E
analogous
#5E68E5 #975EE5 #DA5EE5
triadic
#975EE5 #E5975E #5EE597
tetradic
#975EE5 #E55E68 #ACE55E #5EE5DA
square
#975EE5 #E55E68 #ACE55E #5EE5DA
split-complementary
#975EE5 #E5DA5E #68E55E
monochromatic
#591CAD #7529DC #975EE5 #B993EE #DBC7F6
Accessibility & contrast
On white
4.16
#975EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#975EE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975EE5
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975EE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975EE5 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E7CE9
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#867A99
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #975ee5; /* rgb */ color: rgb(151, 94, 229); /* oklch */ color: oklch(60.9% 0.198 300.0);
Tailwind
colors: {
custom: {
50: '#ba8eee',
500: '#975ee5',
950: '#000000',
},
}SCSS
$custom: #975ee5; $custom-light: #ba8eee; $custom-dark: #000000;
JSON
{
"hex": "#975ee5",
"rgb": {
"r": 151,
"g": 94,
"b": 229
},
"hsl": {
"h": 265.333,
"s": 72.193,
"l": 63.333
},
"oklch": {
"l": 0.60856,
"c": 0.1975,
"h": 300
},
"luminance": 0.20242
}Semantic roles & 50–950 ramp
primary
#975EE5
secondary
#D3E7B7
accent
#D41182
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84