#7D4EBC#7D4EBC
#7D4EBC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.167 H 300.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4EBC |
|---|---|
| RGB | rgb(125, 78, 188) |
| HSL | hsl(266, 45%, 52%) |
| HSV | hsv(266, 59%, 74%) |
| CMYK | cmyk(33.5%, 58.5%, 0%, 26.3%) |
| CIE-LAB | lab(43.42, 42.55, -50.92) |
| CIE-LCH | lch(43.42, 66.36, 309.88°) |
| OKLab | oklab(53.03% 0.085 -0.1442) |
| OKLCH | oklch(53.03% 0.167 300.5) |
| XYZ | xyz(20.2568, 13.4395, 49.0941) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.45
Light Indigo
#6D5ACF
ΔE00 5.98
Deep Lavender
#8D5EB7
ΔE00 6.10
Slate Blue
#6A5ACD
ΔE00 6.23
Bluey Purple
#6241C7
ΔE00 6.37
Purpley
#8756E4
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4EBC #8DBC4E
analogous
#4E56BC #7D4EBC #B44EBC
triadic
#7D4EBC #BC7D4E #4EBC7D
tetradic
#7D4EBC #BC4E56 #8DBC4E #4EBCB4
square
#7D4EBC #BC4E56 #8DBC4E #4EBCB4
split-complementary
#7D4EBC #BCB44E #56BC4E
monochromatic
#432768 #603895 #7D4EBC #9E7ACD #BEA7DE
Accessibility & contrast
On white
5.69
#7D4EBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#7D4EBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4EBC
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4EBC | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#2D66BA
Tritanopia (blue-blind)
#70657D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7d4ebc; /* rgb */ color: rgb(125, 78, 188); /* oklch */ color: oklch(53.0% 0.167 300.5);
Tailwind
colors: {
custom: {
50: '#a681d1',
500: '#7d4ebc',
950: '#000000',
},
}SCSS
$custom: #7d4ebc; $custom-light: #a681d1; $custom-dark: #000000;
JSON
{
"hex": "#7d4ebc",
"rgb": {
"r": 125,
"g": 78,
"b": 188
},
"hsl": {
"h": 265.636,
"s": 45.082,
"l": 52.157
},
"oklch": {
"l": 0.53029,
"c": 0.16741,
"h": 300.5
},
"luminance": 0.1344
}Semantic roles & 50–950 ramp
primary
#7D4EBC
secondary
#B6CB9B
accent
#D5539D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82