#7B4CD1#7B4CD1
#7B4CD1 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.195 H 295.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4CD1 |
|---|---|
| RGB | rgb(123, 76, 209) |
| HSL | hsl(261, 59%, 56%) |
| HSV | hsv(261, 64%, 82%) |
| CMYK | cmyk(41.1%, 63.6%, 0%, 18%) |
| CIE-LAB | lab(44.21, 48.67, -61.82) |
| CIE-LCH | lch(44.21, 78.68, 308.22°) |
| OKLab | oklab(54% 0.0836 -0.1763) |
| OKLCH | oklch(54% 0.195 295.4) |
| XYZ | xyz(22.2584, 13.9828, 61.8355) |
| Luminance | 0.1398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.51
Light Indigo
#6D5ACF
ΔE00 4.68
Bluish Purple
#703BE7
ΔE00 4.76
Slate Blue
#6A5ACD
ΔE00 5.07
Bluey Purple
#6241C7
ΔE00 5.30
Purpleish Blue
#6140EF
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4CD1 #A2D14C
analogous
#4C5FD1 #7B4CD1 #BD4CD1
triadic
#7B4CD1 #D17B4C #4CD17B
tetradic
#7B4CD1 #D14C5F #A2D14C #4CD1BD
square
#7B4CD1 #D14C5F #A2D14C #4CD1BD
split-complementary
#7B4CD1 #D1BD4C #5FD14C
monochromatic
#432181 #5D2EB2 #7B4CD1 #9F7DDE #C3ADEA
Accessibility & contrast
On white
5.53
#7B4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#7B4CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4CD1
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4CD1 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#656B88
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7b4cd1; /* rgb */ color: rgb(123, 76, 209); /* oklch */ color: oklch(54.0% 0.195 295.4);
Tailwind
colors: {
custom: {
50: '#a781e0',
500: '#7b4cd1',
950: '#000000',
},
}SCSS
$custom: #7b4cd1; $custom-light: #a781e0; $custom-dark: #000000;
JSON
{
"hex": "#7b4cd1",
"rgb": {
"r": 123,
"g": 76,
"b": 209
},
"hsl": {
"h": 261.203,
"s": 59.111,
"l": 55.882
},
"oklch": {
"l": 0.54004,
"c": 0.19514,
"h": 295.4
},
"luminance": 0.13983
}Semantic roles & 50–950 ramp
primary
#7B4CD1
secondary
#C4D8A1
accent
#E246AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83