#7D5CEF#7D5CEF
#7D5CEF is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.211 H 288.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CEF |
|---|---|
| RGB | rgb(125, 92, 239) |
| HSL | hsl(253, 82%, 65%) |
| HSV | hsv(253, 62%, 94%) |
| CMYK | cmyk(47.7%, 61.5%, 0%, 6.3%) |
| CIE-LAB | lab(49.79, 48.55, -69.78) |
| CIE-LCH | lch(49.79, 85.00, 304.83°) |
| OKLab | oklab(58.78% 0.0669 -0.1997) |
| OKLCH | oklch(58.78% 0.211 288.5) |
| XYZ | xyz(27.8601, 18.2451, 83.6983) |
| Luminance | 0.1825 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.92
Mediumslateblue
#7B68EE
ΔE00 3.41
Light Indigo
#6D5ACF
ΔE00 5.33
Slate Blue
#6A5ACD
ΔE00 5.85
Dark Periwinkle
#665FD1
ΔE00 5.85
Lighter Purple
#A55AF4
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CEF #CEEF5C
analogous
#5C85EF #7D5CEF #C65CEF
triadic
#7D5CEF #EF7D5C #5CEF7D
tetradic
#7D5CEF #EF5C85 #CEEF5C #5CEFC6
square
#7D5CEF #EF5C85 #CEEF5C #5CEFC6
split-complementary
#7D5CEF #EFC65C #85EF5C
monochromatic
#3913BE #5124EA #7D5CEF #A994F4 #D6CBFA
Accessibility & contrast
On white
4.52
#7D5CEF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7D5CEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5CEF
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5CEF | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#577F9D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7d5cef; /* rgb */ color: rgb(125, 92, 239); /* oklch */ color: oklch(58.8% 0.211 288.5);
Tailwind
colors: {
custom: {
50: '#ab8cf5',
500: '#7d5cef',
950: '#000000',
},
}SCSS
$custom: #7d5cef; $custom-light: #ab8cf5; $custom-dark: #000000;
JSON
{
"hex": "#7d5cef",
"rgb": {
"r": 125,
"g": 92,
"b": 239
},
"hsl": {
"h": 253.469,
"s": 82.123,
"l": 64.902
},
"oklch": {
"l": 0.58776,
"c": 0.2106,
"h": 288.5
},
"luminance": 0.18246
}Semantic roles & 50–950 ramp
primary
#7D5CEF
secondary
#E1ECBA
accent
#DF07AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85