#7D5DF6#7D5DF6
#7D5DF6 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.218 H 287.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5DF6 |
|---|---|
| RGB | rgb(125, 93, 246) |
| HSL | hsl(253, 89%, 66%) |
| HSV | hsv(253, 62%, 96%) |
| CMYK | cmyk(49.2%, 62.2%, 0%, 3.5%) |
| CIE-LAB | lab(50.50, 49.97, -72.54) |
| CIE-LCH | lch(50.50, 88.08, 304.56°) |
| OKLab | oklab(59.45% 0.0654 -0.2078) |
| OKLCH | oklch(59.45% 0.218 287.5) |
| XYZ | xyz(29.0015, 18.8412, 89.2795) |
| Luminance | 0.1884 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.12
Purpley
#8756E4
ΔE00 3.71
Light Indigo
#6D5ACF
ΔE00 6.21
Dark Periwinkle
#665FD1
ΔE00 6.49
Slate Blue
#6A5ACD
ΔE00 6.70
Lighter Purple
#A55AF4
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5DF6 #D6F65D
analogous
#5D8AF6 #7D5DF6 #CA5DF6
triadic
#7D5DF6 #F67D5D #5DF67D
tetradic
#7D5DF6 #F65D8A #D6F65D #5DF6CA
square
#7D5DF6 #F65D8A #D6F65D #5DF6CA
split-complementary
#7D5DF6 #F6CA5D #8AF65D
monochromatic
#340BCD #4E23F3 #7D5DF6 #AC97F9 #DAD1FC
Accessibility & contrast
On white
4.40
#7D5DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#7D5DF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5DF6
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5DF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5DF6 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#0074F3
Tritanopia (blue-blind)
#5282A1
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d5df6; /* rgb */ color: rgb(125, 93, 246); /* oklch */ color: oklch(59.5% 0.218 287.5);
Tailwind
colors: {
custom: {
50: '#ab8cfa',
500: '#7d5df6',
950: '#000000',
},
}SCSS
$custom: #7d5df6; $custom-light: #ab8cfa; $custom-dark: #000000;
JSON
{
"hex": "#7d5df6",
"rgb": {
"r": 125,
"g": 93,
"b": 246
},
"hsl": {
"h": 252.549,
"s": 89.474,
"l": 66.471
},
"oklch": {
"l": 0.5945,
"c": 0.21785,
"h": 287.5
},
"luminance": 0.18842
}Semantic roles & 50–950 ramp
primary
#7D5DF6
secondary
#E6F0BF
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85