#7D4CDB#7D4CDB
#7D4CDB is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.207 H 294.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CDB |
|---|---|
| RGB | rgb(125, 76, 219) |
| HSL | hsl(261, 67%, 58%) |
| HSV | hsv(261, 65%, 86%) |
| CMYK | cmyk(42.9%, 65.3%, 0%, 14.1%) |
| CIE-LAB | lab(45.14, 51.72, -66.02) |
| CIE-LCH | lch(45.14, 83.87, 308.07°) |
| OKLab | oklab(54.95% 0.0852 -0.1886) |
| OKLCH | oklch(54.95% 0.207 294.3) |
| XYZ | xyz(23.8246, 14.6427, 68.5752) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.55
Bluish Purple
#703BE7
ΔE00 4.38
Light Indigo
#6D5ACF
ΔE00 4.87
Slate Blue
#6A5ACD
ΔE00 5.33
Purpleish Blue
#6140EF
ΔE00 5.40
Blueviolet
#8A2BE2
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CDB #AADB4C
analogous
#4C63DB #7D4CDB #C44CDB
triadic
#7D4CDB #DB7D4C #4CDB7D
tetradic
#7D4CDB #DB4C63 #AADB4C #4CDBC4
square
#7D4CDB #DB4C63 #AADB4C #4CDBC4
split-complementary
#7D4CDB #DBC44C #63DB4C
monochromatic
#441D90 #5C27C3 #7D4CDB #A27FE5 #C7B2EF
Accessibility & contrast
On white
5.35
#7D4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#7D4CDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CDB
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CDB | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#636E8D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7d4cdb; /* rgb */ color: rgb(125, 76, 219); /* oklch */ color: oklch(55.0% 0.207 294.3);
Tailwind
colors: {
custom: {
50: '#a981e7',
500: '#7d4cdb',
950: '#000000',
},
}SCSS
$custom: #7d4cdb; $custom-light: #a981e7; $custom-dark: #000000;
JSON
{
"hex": "#7d4cdb",
"rgb": {
"r": 125,
"g": 76,
"b": 219
},
"hsl": {
"h": 260.559,
"s": 66.512,
"l": 57.843
},
"oklch": {
"l": 0.54953,
"c": 0.20699,
"h": 294.3
},
"luminance": 0.14643
}Semantic roles & 50–950 ramp
primary
#7D4CDB
secondary
#CADEA5
accent
#E93EAF
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84