#7B4CD2#7B4CD2
#7B4CD2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.196 H 295.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4CD2 |
|---|---|
| RGB | rgb(123, 76, 210) |
| HSL | hsl(261, 60%, 56%) |
| HSV | hsv(261, 64%, 82%) |
| CMYK | cmyk(41.4%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(44.28, 48.94, -62.28) |
| CIE-LCH | lch(44.28, 79.20, 308.16°) |
| OKLab | oklab(54.08% 0.0835 -0.1777) |
| OKLCH | oklch(54.08% 0.196 295.2) |
| XYZ | xyz(22.3826, 14.0325, 62.4895) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 4.66
Bluish Purple
#703BE7
ΔE00 4.69
Slate Blue
#6A5ACD
ΔE00 5.05
Bluey Purple
#6241C7
ΔE00 5.33
Purpleish Blue
#6140EF
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4CD2 #A3D24C
analogous
#4C60D2 #7B4CD2 #BE4CD2
triadic
#7B4CD2 #D27B4C #4CD27B
tetradic
#7B4CD2 #D24C60 #A3D24C #4CD2BE
square
#7B4CD2 #D24C60 #A3D24C #4CD2BE
split-complementary
#7B4CD2 #D2BE4C #60D24C
monochromatic
#432183 #5C2DB4 #7B4CD2 #9F7DDE #C3AEEB
Accessibility & contrast
On white
5.52
#7B4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7B4CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4CD2
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4CD2 | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#646B88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7b4cd2; /* rgb */ color: rgb(123, 76, 210); /* oklch */ color: oklch(54.1% 0.196 295.2);
Tailwind
colors: {
custom: {
50: '#a781e1',
500: '#7b4cd2',
950: '#000000',
},
}SCSS
$custom: #7b4cd2; $custom-light: #a781e1; $custom-dark: #000000;
JSON
{
"hex": "#7b4cd2",
"rgb": {
"r": 123,
"g": 76,
"b": 210
},
"hsl": {
"h": 261.045,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.54078,
"c": 0.19632,
"h": 295.2
},
"luminance": 0.14033
}Semantic roles & 50–950 ramp
primary
#7B4CD2
secondary
#C5D9A1
accent
#E345AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83