#7D5BE3#7D5BE3
#7D5BE3 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.197 H 290.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5BE3 |
|---|---|
| RGB | rgb(125, 91, 227) |
| HSL | hsl(255, 71%, 62%) |
| HSV | hsv(255, 60%, 89%) |
| CMYK | cmyk(44.9%, 59.9%, 0%, 11%) |
| CIE-LAB | lab(48.74, 45.75, -64.72) |
| CIE-LCH | lch(48.74, 79.26, 305.26°) |
| OKLab | oklab(57.75% 0.0687 -0.1848) |
| OKLCH | oklch(57.75% 0.197 290.4) |
| XYZ | xyz(26.0598, 17.3873, 74.6412) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.15
Light Indigo
#6D5ACF
ΔE00 4.01
Mediumslateblue
#7B68EE
ΔE00 4.26
Slate Blue
#6A5ACD
ΔE00 4.59
Dark Periwinkle
#665FD1
ΔE00 5.01
Iris
#6258C4
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5BE3 #C1E35B
analogous
#5B7DE3 #7D5BE3 #C15BE3
triadic
#7D5BE3 #E37D5B #5BE37D
tetradic
#7D5BE3 #E35B7D #C1E35B #5BE3C1
square
#7D5BE3 #E35B7D #C1E35B #5BE3C1
split-complementary
#7D5BE3 #E3C15B #7DE35B
monochromatic
#3F1DA7 #5427DA #7D5BE3 #A68FEC #D0C4F5
Accessibility & contrast
On white
4.69
#7D5BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#7D5BE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5BE3
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5BE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5BE3 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#5E7A96
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7d5be3; /* rgb */ color: rgb(125, 91, 227); /* oklch */ color: oklch(57.7% 0.197 290.4);
Tailwind
colors: {
custom: {
50: '#a98bed',
500: '#7d5be3',
950: '#000000',
},
}SCSS
$custom: #7d5be3; $custom-light: #a98bed; $custom-dark: #000000;
JSON
{
"hex": "#7d5be3",
"rgb": {
"r": 125,
"g": 91,
"b": 227
},
"hsl": {
"h": 255,
"s": 70.833,
"l": 62.353
},
"oklch": {
"l": 0.57747,
"c": 0.19717,
"h": 290.4
},
"luminance": 0.17388
}Semantic roles & 50–950 ramp
primary
#7D5BE3
secondary
#D9E6B4
accent
#D313A3
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84