#7D5CF2#7D5CF2
#7D5CF2 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.214 H 288.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CF2 |
|---|---|
| RGB | rgb(125, 92, 242) |
| HSL | hsl(253, 85%, 65%) |
| HSV | hsv(253, 62%, 95%) |
| CMYK | cmyk(48.3%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(50.01, 49.39, -71.11) |
| CIE-LCH | lch(50.01, 86.58, 304.79°) |
| OKLab | oklab(59% 0.0667 -0.2036) |
| OKLCH | oklch(59% 0.214 288.1) |
| XYZ | xyz(28.3070, 18.4238, 86.0518) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.18
Mediumslateblue
#7B68EE
ΔE00 3.36
Light Indigo
#6D5ACF
ΔE00 5.67
Dark Periwinkle
#665FD1
ΔE00 6.12
Slate Blue
#6A5ACD
ΔE00 6.18
Lighter Purple
#A55AF4
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CF2 #D1F25C
analogous
#5C86F2 #7D5CF2 #C85CF2
triadic
#7D5CF2 #F27D5C #5CF27D
tetradic
#7D5CF2 #F25C86 #D1F25C #5CF2C8
square
#7D5CF2 #F25C86 #D1F25C #5CF2C8
split-complementary
#7D5CF2 #F2C85C #86F25C
monochromatic
#3710C4 #5023ED #7D5CF2 #AA95F7 #D7CDFB
Accessibility & contrast
On white
4.48
#7D5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#7D5CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5CF2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5CF2 | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#55809F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7d5cf2; /* rgb */ color: rgb(125, 92, 242); /* oklch */ color: oklch(59.0% 0.214 288.1);
Tailwind
colors: {
custom: {
50: '#ab8cf7',
500: '#7d5cf2',
950: '#000000',
},
}SCSS
$custom: #7d5cf2; $custom-light: #ab8cf7; $custom-dark: #000000;
JSON
{
"hex": "#7d5cf2",
"rgb": {
"r": 125,
"g": 92,
"b": 242
},
"hsl": {
"h": 253.2,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.59,
"c": 0.21424,
"h": 288.1
},
"luminance": 0.18425
}Semantic roles & 50–950 ramp
primary
#7D5CF2
secondary
#E3EEBC
accent
#E204B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85