#7D5FE3#7D5FE3
#7D5FE3 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.192 H 289.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5FE3 |
|---|---|
| RGB | rgb(125, 95, 227) |
| HSL | hsl(254, 70%, 63%) |
| HSV | hsv(254, 58%, 89%) |
| CMYK | cmyk(44.9%, 58.1%, 0%, 11%) |
| CIE-LAB | lab(49.60, 43.50, -63.33) |
| CIE-LCH | lch(49.60, 76.83, 304.48°) |
| OKLab | oklab(58.38% 0.0643 -0.1807) |
| OKLCH | oklch(58.38% 0.192 289.6) |
| XYZ | xyz(26.4109, 18.0895, 74.7582) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.94
Mediumslateblue
#7B68EE
ΔE00 3.24
Light Indigo
#6D5ACF
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.85
Dark Periwinkle
#665FD1
ΔE00 4.88
Mediumpurple
#9370DB
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5FE3 #C5E35F
analogous
#5F83E3 #7D5FE3 #BF5FE3
triadic
#7D5FE3 #E37D5F #5FE37D
tetradic
#7D5FE3 #E35F83 #C5E35F #5FE3BF
square
#7D5FE3 #E35F83 #C5E35F #5FE3BF
split-complementary
#7D5FE3 #E3BF5F #83E35F
monochromatic
#3E1EAA #532BDA #7D5FE3 #A793EC #D2C7F5
Accessibility & contrast
On white
4.55
#7D5FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#7D5FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5FE3
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5FE3 | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#5E7D98
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7d5fe3; /* rgb */ color: rgb(125, 95, 227); /* oklch */ color: oklch(58.4% 0.192 289.6);
Tailwind
colors: {
custom: {
50: '#a98ded',
500: '#7d5fe3',
950: '#000000',
},
}SCSS
$custom: #7d5fe3; $custom-light: #a98ded; $custom-dark: #000000;
JSON
{
"hex": "#7d5fe3",
"rgb": {
"r": 125,
"g": 95,
"b": 227
},
"hsl": {
"h": 253.636,
"s": 70.213,
"l": 63.137
},
"oklch": {
"l": 0.58378,
"c": 0.19181,
"h": 289.6
},
"luminance": 0.1809
}Semantic roles & 50–950 ramp
primary
#7D5FE3
secondary
#DCE7B7
accent
#D213A7
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84