#7D5CF0#7D5CF0
#7D5CF0 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.212 H 288.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CF0 |
|---|---|
| RGB | rgb(125, 92, 240) |
| HSL | hsl(253, 83%, 65%) |
| HSV | hsv(253, 62%, 94%) |
| CMYK | cmyk(47.9%, 61.7%, 0%, 5.9%) |
| CIE-LAB | lab(49.86, 48.83, -70.22) |
| CIE-LCH | lch(49.86, 85.53, 304.82°) |
| OKLab | oklab(58.85% 0.0668 -0.201) |
| OKLCH | oklch(58.85% 0.212 288.4) |
| XYZ | xyz(28.0082, 18.3043, 84.4785) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.00
Mediumslateblue
#7B68EE
ΔE00 3.39
Light Indigo
#6D5ACF
ΔE00 5.44
Dark Periwinkle
#665FD1
ΔE00 5.94
Slate Blue
#6A5ACD
ΔE00 5.96
Lighter Purple
#A55AF4
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CF0 #CFF05C
analogous
#5C85F0 #7D5CF0 #C75CF0
triadic
#7D5CF0 #F07D5C #5CF07D
tetradic
#7D5CF0 #F05C85 #CFF05C #5CF0C7
square
#7D5CF0 #F05C85 #CFF05C #5CF0C7
split-complementary
#7D5CF0 #F0C75C #85F05C
monochromatic
#3912C0 #5024EB #7D5CF0 #AA94F5 #D6CCFA
Accessibility & contrast
On white
4.51
#7D5CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#7D5CF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5CF0
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5CF0 | 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)
#007AF5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#567F9E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7d5cf0; /* rgb */ color: rgb(125, 92, 240); /* oklch */ color: oklch(58.9% 0.212 288.4);
Tailwind
colors: {
custom: {
50: '#ab8cf6',
500: '#7d5cf0',
950: '#000000',
},
}SCSS
$custom: #7d5cf0; $custom-light: #ab8cf6; $custom-dark: #000000;
JSON
{
"hex": "#7d5cf0",
"rgb": {
"r": 125,
"g": 92,
"b": 240
},
"hsl": {
"h": 253.378,
"s": 83.146,
"l": 65.098
},
"oklch": {
"l": 0.58851,
"c": 0.21181,
"h": 288.4
},
"luminance": 0.18306
}Semantic roles & 50–950 ramp
primary
#7D5CF0
secondary
#E2EDBB
accent
#E006AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85