#7D5FF6#7D5FF6
#7D5FF6 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.215 H 287.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5FF6 |
|---|---|
| RGB | rgb(125, 95, 246) |
| HSL | hsl(252, 89%, 67%) |
| HSV | hsv(252, 61%, 96%) |
| CMYK | cmyk(49.2%, 61.4%, 0%, 3.5%) |
| CIE-LAB | lab(50.92, 48.86, -71.86) |
| CIE-LCH | lch(50.92, 86.90, 304.21°) |
| OKLab | oklab(59.75% 0.0634 -0.2058) |
| OKLCH | oklch(59.75% 0.215 287.1) |
| XYZ | xyz(29.1793, 19.1969, 89.3388) |
| Luminance | 0.1920 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.63
Purpley
#8756E4
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 6.38
Dark Periwinkle
#665FD1
ΔE00 6.52
Slate Blue
#6A5ACD
ΔE00 6.86
Lighter Purple
#A55AF4
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5FF6 #D8F65F
analogous
#5F8CF6 #7D5FF6 #C95FF6
triadic
#7D5FF6 #F67D5F #5FF67D
tetradic
#7D5FF6 #F65F8C #D8F65F #5FF6C9
square
#7D5FF6 #F65F8C #D8F65F #5FF6C9
split-complementary
#7D5FF6 #F6C95F #8CF65F
monochromatic
#320CCF #4E25F3 #7D5FF6 #AC99F9 #DBD3FD
Accessibility & contrast
On white
4.34
#7D5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7D5FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5FF6
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5FF6 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#5283A2
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7d5ff6; /* rgb */ color: rgb(125, 95, 246); /* oklch */ color: oklch(59.8% 0.215 287.1);
Tailwind
colors: {
custom: {
50: '#ab8efa',
500: '#7d5ff6',
950: '#000000',
},
}SCSS
$custom: #7d5ff6; $custom-light: #ab8efa; $custom-dark: #000000;
JSON
{
"hex": "#7d5ff6",
"rgb": {
"r": 125,
"g": 95,
"b": 246
},
"hsl": {
"h": 251.921,
"s": 89.349,
"l": 66.863
},
"oklch": {
"l": 0.59753,
"c": 0.21536,
"h": 287.1
},
"luminance": 0.19198
}Semantic roles & 50–950 ramp
primary
#7D5FF6
secondary
#E7F1C0
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85