#7D4CBF#7D4CBF
#7D4CBF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.174 H 300.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4CBF |
|---|---|
| RGB | rgb(125, 76, 191) |
| HSL | hsl(266, 47%, 52%) |
| HSV | hsv(266, 60%, 75%) |
| CMYK | cmyk(34.6%, 60.2%, 0%, 25.1%) |
| CIE-LAB | lab(43.20, 44.42, -53.02) |
| CIE-LCH | lch(43.20, 69.17, 309.95°) |
| OKLab | oklab(52.93% 0.0874 -0.1504) |
| OKLCH | oklch(52.93% 0.174 300.1) |
| XYZ | xyz(20.4436, 13.2903, 50.7683) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.07
Bluey Purple
#6241C7
ΔE00 5.90
Light Indigo
#6D5ACF
ΔE00 5.99
Slate Blue
#6A5ACD
ΔE00 6.26
Darkorchid
#9932CC
ΔE00 6.38
Purpley
#8756E4
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4CBF #8EBF4C
analogous
#4C55BF #7D4CBF #B64CBF
triadic
#7D4CBF #BF7D4C #4CBF7D
tetradic
#7D4CBF #BF4C55 #8EBF4C #4CBFB6
square
#7D4CBF #BF4C55 #8EBF4C #4CBFB6
split-complementary
#7D4CBF #BFB64C #55BF4C
monochromatic
#43266B #603698 #7D4CBF #9E79CF #BEA6DF
Accessibility & contrast
On white
5.74
#7D4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#7D4CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4CBF
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4CBF | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0266C3
Deuteranopia (green-blind)
#2565BC
Tritanopia (blue-blind)
#6F647E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7d4cbf; /* rgb */ color: rgb(125, 76, 191); /* oklch */ color: oklch(52.9% 0.174 300.1);
Tailwind
colors: {
custom: {
50: '#a780d3',
500: '#7d4cbf',
950: '#000000',
},
}SCSS
$custom: #7d4cbf; $custom-light: #a780d3; $custom-dark: #000000;
JSON
{
"hex": "#7d4cbf",
"rgb": {
"r": 125,
"g": 76,
"b": 191
},
"hsl": {
"h": 265.565,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.52929,
"c": 0.17395,
"h": 300.1
},
"luminance": 0.1329
}Semantic roles & 50–950 ramp
primary
#7D4CBF
secondary
#B7CC9A
accent
#D7519E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83