#7D5EEA#7D5EEA
#7D5EEA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.7% C 0.202 H 288.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5EEA |
|---|---|
| RGB | rgb(125, 94, 234) |
| HSL | hsl(253, 77%, 64%) |
| HSV | hsv(253, 60%, 92%) |
| CMYK | cmyk(46.6%, 59.8%, 0%, 8.2%) |
| CIE-LAB | lab(49.86, 46.03, -66.85) |
| CIE-LCH | lch(49.86, 81.17, 304.55°) |
| OKLab | oklab(58.72% 0.0651 -0.1911) |
| OKLCH | oklch(58.72% 0.202 288.8) |
| XYZ | xyz(27.3072, 18.3048, 79.9203) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.95
Mediumslateblue
#7B68EE
ΔE00 3.04
Light Indigo
#6D5ACF
ΔE00 4.92
Dark Periwinkle
#665FD1
ΔE00 5.40
Slate Blue
#6A5ACD
ΔE00 5.45
Lighter Purple
#A55AF4
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5EEA #CBEA5E
analogous
#5E85EA #7D5EEA #C35EEA
triadic
#7D5EEA #EA7D5E #5EEA7D
tetradic
#7D5EEA #EA5E85 #CBEA5E #5EEAC3
square
#7D5EEA #EA5E85 #CBEA5E #5EEAC3
split-complementary
#7D5EEA #EAC35E #85EA5E
monochromatic
#3B18B6 #5128E3 #7D5EEA #A994F1 #D4CAF8
Accessibility & contrast
On white
4.51
#7D5EEA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#7D5EEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5EEA
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5EEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5EEA | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#5A7E9B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7d5eea; /* rgb */ color: rgb(125, 94, 234); /* oklch */ color: oklch(58.7% 0.202 288.8);
Tailwind
colors: {
custom: {
50: '#aa8df2',
500: '#7d5eea',
950: '#000000',
},
}SCSS
$custom: #7d5eea; $custom-light: #aa8df2; $custom-dark: #000000;
JSON
{
"hex": "#7d5eea",
"rgb": {
"r": 125,
"g": 94,
"b": 234
},
"hsl": {
"h": 253.286,
"s": 76.923,
"l": 64.314
},
"oklch": {
"l": 0.58718,
"c": 0.20188,
"h": 288.8
},
"luminance": 0.18306
}Semantic roles & 50–950 ramp
primary
#7D5EEA
secondary
#DFEABA
accent
#D90CAC
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85