#7D4CEF#7D4CEF
#7D4CEF is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.230 H 291.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CEF |
|---|---|
| RGB | rgb(125, 76, 239) |
| HSL | hsl(258, 84%, 62%) |
| HSV | hsv(258, 68%, 94%) |
| CMYK | cmyk(47.7%, 68.2%, 0%, 6.3%) |
| CIE-LAB | lab(46.66, 57.05, -74.88) |
| CIE-LCH | lch(46.66, 94.13, 307.30°) |
| OKLab | oklab(56.52% 0.0824 -0.2147) |
| OKLCH | oklch(56.52% 0.23 291) |
| XYZ | xyz(26.6175, 15.7598, 83.2841) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.22
Bluish Purple
#703BE7
ΔE00 4.71
Purpleish Blue
#6140EF
ΔE00 5.05
Light Indigo
#6D5ACF
ΔE00 5.87
Slate Blue
#6A5ACD
ΔE00 6.34
Blueviolet
#8A2BE2
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CEF #BEEF4C
analogous
#4C6DEF #7D4CEF #CF4CEF
triadic
#7D4CEF #EF7D4C #4CEF7D
tetradic
#7D4CEF #EF4C6D #BEEF4C #4CEFCF
square
#7D4CEF #EF4C6D #BEEF4C #4CEFCF
split-complementary
#7D4CEF #EFCF4C #6DEF4C
monochromatic
#4010B1 #5515E9 #7D4CEF #A684F4 #CFBCF9
Accessibility & contrast
On white
5.06
#7D4CEF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#7D4CEF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CEF
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CEF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CEF | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#587598
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7d4cef; /* rgb */ color: rgb(125, 76, 239); /* oklch */ color: oklch(56.5% 0.230 291.0);
Tailwind
colors: {
custom: {
50: '#ac82f5',
500: '#7d4cef',
950: '#000000',
},
}SCSS
$custom: #7d4cef; $custom-light: #ac82f5; $custom-dark: #000000;
JSON
{
"hex": "#7d4cef",
"rgb": {
"r": 125,
"g": 76,
"b": 239
},
"hsl": {
"h": 258.037,
"s": 83.59,
"l": 61.765
},
"oklch": {
"l": 0.56515,
"c": 0.22992,
"h": 291
},
"luminance": 0.15761
}Semantic roles & 50–950 ramp
primary
#7D4CEF
secondary
#D7EAAD
accent
#E0059E
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85