#7D4CD0#7D4CD0
#7D4CD0 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.194 H 296.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CD0 |
|---|---|
| RGB | rgb(125, 76, 208) |
| HSL | hsl(262, 58%, 56%) |
| HSV | hsv(262, 63%, 82%) |
| CMYK | cmyk(39.9%, 63.5%, 0%, 18.4%) |
| CIE-LAB | lab(44.35, 48.82, -61.00) |
| CIE-LCH | lch(44.35, 78.13, 308.67°) |
| OKLab | oklab(54.13% 0.0863 -0.1739) |
| OKLCH | oklch(54.13% 0.194 296.4) |
| XYZ | xyz(22.4241, 14.0825, 61.1990) |
| Luminance | 0.1408 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 4.91
Bluish Purple
#703BE7
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.31
Bluey Purple
#6241C7
ΔE00 5.58
Blueviolet
#8A2BE2
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CD0 #9FD04C
analogous
#4C5DD0 #7D4CD0 #BF4CD0
triadic
#7D4CD0 #D07D4C #4CD07D
tetradic
#7D4CD0 #D04C5D #9FD04C #4CD0BF
square
#7D4CD0 #D04C5D #9FD04C #4CD0BF
split-complementary
#7D4CD0 #D0BF4C #5DD04C
monochromatic
#452280 #5F2EB0 #7D4CD0 #A07CDD #C3ADE9
Accessibility & contrast
On white
5.50
#7D4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#7D4CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CD0
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CD0 | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#686A87
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7d4cd0; /* rgb */ color: rgb(125, 76, 208); /* oklch */ color: oklch(54.1% 0.194 296.4);
Tailwind
colors: {
custom: {
50: '#a881df',
500: '#7d4cd0',
950: '#000000',
},
}SCSS
$custom: #7d4cd0; $custom-light: #a881df; $custom-dark: #000000;
JSON
{
"hex": "#7d4cd0",
"rgb": {
"r": 125,
"g": 76,
"b": 208
},
"hsl": {
"h": 262.273,
"s": 58.407,
"l": 55.686
},
"oklch": {
"l": 0.54134,
"c": 0.19414,
"h": 296.4
},
"luminance": 0.14083
}Semantic roles & 50–950 ramp
primary
#7D4CD0
secondary
#C3D7A0
accent
#E246A8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83