#7B4DCE#7B4DCE
#7B4DCE is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.190 H 295.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4DCE |
|---|---|
| RGB | rgb(123, 77, 206) |
| HSL | hsl(261, 57%, 55%) |
| HSV | hsv(261, 63%, 81%) |
| CMYK | cmyk(40.3%, 62.6%, 0%, 19.2%) |
| CIE-LAB | lab(44.20, 47.34, -60.11) |
| CIE-LCH | lch(44.20, 76.51, 308.22°) |
| OKLab | oklab(53.93% 0.0827 -0.1713) |
| OKLCH | oklch(53.93% 0.19 295.8) |
| XYZ | xyz(21.9599, 13.9745, 59.9209) |
| Luminance | 0.1398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.56
Purpley
#8756E4
ΔE00 4.64
Slate Blue
#6A5ACD
ΔE00 4.94
Bluish Purple
#703BE7
ΔE00 5.18
Bluey Purple
#6241C7
ΔE00 5.37
Iris
#6258C4
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4DCE #A0CE4D
analogous
#4D60CE #7B4DCE #BB4DCE
triadic
#7B4DCE #CE7B4D #4DCE7B
tetradic
#7B4DCE #CE4D60 #A0CE4D #4DCEBB
square
#7B4DCE #CE4D60 #A0CE4D #4DCEBB
split-complementary
#7B4DCE #CEBB4D #60CE4D
monochromatic
#43237E #5D30AE #7B4DCE #9F7DDB #C2ADE8
Accessibility & contrast
On white
5.53
#7B4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#7B4DCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4DCE
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4DCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4DCE | 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)
#0069D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#666A86
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7b4dce; /* rgb */ color: rgb(123, 77, 206); /* oklch */ color: oklch(53.9% 0.190 295.8);
Tailwind
colors: {
custom: {
50: '#a781de',
500: '#7b4dce',
950: '#000000',
},
}SCSS
$custom: #7b4dce; $custom-light: #a781de; $custom-dark: #000000;
JSON
{
"hex": "#7b4dce",
"rgb": {
"r": 123,
"g": 77,
"b": 206
},
"hsl": {
"h": 261.395,
"s": 56.828,
"l": 55.49
},
"oklch": {
"l": 0.53928,
"c": 0.19025,
"h": 295.8
},
"luminance": 0.13975
}Semantic roles & 50–950 ramp
primary
#7B4DCE
secondary
#C3D6A1
accent
#E048AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83