#7D5FEE#7D5FEE
#7D5FEE is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.206 H 288.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5FEE |
|---|---|
| RGB | rgb(125, 95, 238) |
| HSL | hsl(253, 81%, 65%) |
| HSV | hsv(253, 60%, 93%) |
| CMYK | cmyk(47.5%, 60.1%, 0%, 6.7%) |
| CIE-LAB | lab(50.35, 46.60, -68.30) |
| CIE-LCH | lch(50.35, 82.69, 304.30°) |
| OKLab | oklab(59.16% 0.0639 -0.1954) |
| OKLCH | oklch(59.16% 0.206 288.1) |
| XYZ | xyz(27.9778, 18.7162, 83.0108) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.62
Purpley
#8756E4
ΔE00 3.41
Light Indigo
#6D5ACF
ΔE00 5.46
Dark Periwinkle
#665FD1
ΔE00 5.75
Slate Blue
#6A5ACD
ΔE00 5.96
Lighter Purple
#A55AF4
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5FEE #D0EE5F
analogous
#5F89EE #7D5FEE #C45FEE
triadic
#7D5FEE #EE7D5F #5FEE7D
tetradic
#7D5FEE #EE5F89 #D0EE5F #5FEEC4
square
#7D5FEE #EE5F89 #D0EE5F #5FEEC4
split-complementary
#7D5FEE #EEC45F #89EE5F
monochromatic
#3814BE #5028E8 #7D5FEE #AA96F4 #D7CEFA
Accessibility & contrast
On white
4.43
#7D5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#7D5FEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5FEE
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5FEE | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#57809E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d5fee; /* rgb */ color: rgb(125, 95, 238); /* oklch */ color: oklch(59.2% 0.206 288.1);
Tailwind
colors: {
custom: {
50: '#aa8ef4',
500: '#7d5fee',
950: '#000000',
},
}SCSS
$custom: #7d5fee; $custom-light: #aa8ef4; $custom-dark: #000000;
JSON
{
"hex": "#7d5fee",
"rgb": {
"r": 125,
"g": 95,
"b": 238
},
"hsl": {
"h": 252.587,
"s": 80.791,
"l": 65.294
},
"oklch": {
"l": 0.59164,
"c": 0.20553,
"h": 288.1
},
"luminance": 0.18717
}Semantic roles & 50–950 ramp
primary
#7D5FEE
secondary
#E2ECBC
accent
#DD08B1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85