#7D5AFB#7D5AFB
#7D5AFB is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.228 H 287.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5AFB |
|---|---|
| RGB | rgb(125, 90, 251) |
| HSL | hsl(253, 95%, 67%) |
| HSV | hsv(253, 64%, 98%) |
| CMYK | cmyk(50.2%, 64.1%, 0%, 1.6%) |
| CIE-LAB | lab(50.26, 53.01, -75.72) |
| CIE-LCH | lch(50.26, 92.43, 305.00°) |
| OKLab | oklab(59.39% 0.0678 -0.2172) |
| OKLCH | oklch(59.39% 0.228 287.3) |
| XYZ | xyz(29.5211, 18.6359, 93.2897) |
| Luminance | 0.1864 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.81
Mediumslateblue
#7B68EE
ΔE00 3.93
Light Indigo
#6D5ACF
ΔE00 6.61
Lighter Purple
#A55AF4
ΔE00 6.93
Dark Periwinkle
#665FD1
ΔE00 7.01
Slate Blue
#6A5ACD
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5AFB #D8FB5A
analogous
#5A88FB #7D5AFB #CD5AFB
triadic
#7D5AFB #FB7D5A #5AFB7D
tetradic
#7D5AFB #FB5A88 #D8FB5A #5AFBCD
square
#7D5AFB #FB5A88 #D8FB5A #5AFBCD
split-complementary
#7D5AFB #FBCD5A #88FB5A
monochromatic
#3205D5 #4E1EFA #7D5AFB #AC96FC #DBD2FE
Accessibility & contrast
On white
4.44
#7D5AFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#7D5AFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5AFB
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5AFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5AFB | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0073F8
Tritanopia (blue-blind)
#4E82A3
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d5afb; /* rgb */ color: rgb(125, 90, 251); /* oklch */ color: oklch(59.4% 0.228 287.3);
Tailwind
colors: {
custom: {
50: '#ac8bfe',
500: '#7d5afb',
950: '#000000',
},
}SCSS
$custom: #7d5afb; $custom-light: #ac8bfe; $custom-dark: #000000;
JSON
{
"hex": "#7d5afb",
"rgb": {
"r": 125,
"g": 90,
"b": 251
},
"hsl": {
"h": 253.043,
"s": 95.266,
"l": 66.863
},
"oklch": {
"l": 0.59389,
"c": 0.2275,
"h": 287.3
},
"luminance": 0.18637
}Semantic roles & 50–950 ramp
primary
#7D5AFB
secondary
#E7F2BF
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86