#7D5FF2#7D5FF2
#7D5FF2 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.210 H 287.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5FF2 |
|---|---|
| RGB | rgb(125, 95, 242) |
| HSL | hsl(252, 85%, 66%) |
| HSV | hsv(252, 61%, 95%) |
| CMYK | cmyk(48.3%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(50.63, 47.73, -70.09) |
| CIE-LCH | lch(50.63, 84.80, 304.25°) |
| OKLab | oklab(59.46% 0.0636 -0.2006) |
| OKLCH | oklch(59.46% 0.21 287.6) |
| XYZ | xyz(28.5720, 18.9539, 86.1402) |
| Luminance | 0.1895 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.57
Purpley
#8756E4
ΔE00 3.72
Light Indigo
#6D5ACF
ΔE00 5.92
Dark Periwinkle
#665FD1
ΔE00 6.13
Slate Blue
#6A5ACD
ΔE00 6.40
Lighter Purple
#A55AF4
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5FF2 #D4F25F
analogous
#5F8AF2 #7D5FF2 #C65FF2
triadic
#7D5FF2 #F27D5F #5FF27D
tetradic
#7D5FF2 #F25F8A #D4F25F #5FF2C6
square
#7D5FF2 #F25F8A #D4F25F #5FF2C6
split-complementary
#7D5FF2 #F2C65F #8AF25F
monochromatic
#3510C6 #4F26ED #7D5FF2 #AB98F7 #D9D0FB
Accessibility & contrast
On white
4.38
#7D5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#7D5FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5FF2
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5FF2 | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#5582A0
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7d5ff2; /* rgb */ color: rgb(125, 95, 242); /* oklch */ color: oklch(59.5% 0.210 287.6);
Tailwind
colors: {
custom: {
50: '#ab8ef7',
500: '#7d5ff2',
950: '#000000',
},
}SCSS
$custom: #7d5ff2; $custom-light: #ab8ef7; $custom-dark: #000000;
JSON
{
"hex": "#7d5ff2",
"rgb": {
"r": 125,
"g": 95,
"b": 242
},
"hsl": {
"h": 252.245,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.59457,
"c": 0.21046,
"h": 287.6
},
"luminance": 0.18955
}Semantic roles & 50–950 ramp
primary
#7D5FF2
secondary
#E5EFBE
accent
#E104B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85