#7D5AF2#7D5AF2
#7D5AF2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.217 H 288.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5AF2 |
|---|---|
| RGB | rgb(125, 90, 242) |
| HSL | hsl(254, 85%, 65%) |
| HSV | hsv(254, 63%, 95%) |
| CMYK | cmyk(48.3%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(49.60, 50.49, -71.78) |
| CIE-LCH | lch(49.60, 87.76, 305.13°) |
| OKLab | oklab(58.7% 0.0687 -0.2056) |
| OKLCH | oklch(58.7% 0.217 288.5) |
| XYZ | xyz(28.1360, 18.0819, 85.9948) |
| Luminance | 0.1808 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.90
Mediumslateblue
#7B68EE
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 5.57
Slate Blue
#6A5ACD
ΔE00 6.09
Dark Periwinkle
#665FD1
ΔE00 6.17
Lighter Purple
#A55AF4
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5AF2 #CFF25A
analogous
#5A83F2 #7D5AF2 #C95AF2
triadic
#7D5AF2 #F27D5A #5AF27D
tetradic
#7D5AF2 #F25A83 #CFF25A #5AF2C9
square
#7D5AF2 #F25A83 #CFF25A #5AF2C9
split-complementary
#7D5AF2 #F2C95A #83F25A
monochromatic
#390FC2 #5021EE #7D5AF2 #AA93F6 #D6CBFB
Accessibility & contrast
On white
4.55
#7D5AF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#7D5AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5AF2
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5AF2 | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#557E9E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7d5af2; /* rgb */ color: rgb(125, 90, 242); /* oklch */ color: oklch(58.7% 0.217 288.5);
Tailwind
colors: {
custom: {
50: '#ab8af7',
500: '#7d5af2',
950: '#000000',
},
}SCSS
$custom: #7d5af2; $custom-light: #ab8af7; $custom-dark: #000000;
JSON
{
"hex": "#7d5af2",
"rgb": {
"r": 125,
"g": 90,
"b": 242
},
"hsl": {
"h": 253.816,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.58701,
"c": 0.21674,
"h": 288.5
},
"luminance": 0.18083
}Semantic roles & 50–950 ramp
primary
#7D5AF2
secondary
#E2EEBA
accent
#E204AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85