#7B4CDC#7B4CDC
#7B4CDC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.208 H 293.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4CDC |
|---|---|
| RGB | rgb(123, 76, 220) |
| HSL | hsl(260, 67%, 58%) |
| HSV | hsv(260, 65%, 86%) |
| CMYK | cmyk(44.1%, 65.5%, 0%, 13.7%) |
| CIE-LAB | lab(45.01, 51.60, -66.82) |
| CIE-LCH | lch(45.01, 84.42, 307.68°) |
| OKLab | oklab(54.83% 0.0824 -0.1911) |
| OKLCH | oklch(54.83% 0.208 293.3) |
| XYZ | xyz(23.6676, 14.5465, 69.2570) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.69
Bluish Purple
#703BE7
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.72
Purpleish Blue
#6140EF
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.16
Blueviolet
#8A2BE2
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4CDC #ADDC4C
analogous
#4C65DC #7B4CDC #C34CDC
triadic
#7B4CDC #DC7B4C #4CDC7B
tetradic
#7B4CDC #DC4C65 #ADDC4C #4CDCC3
square
#7B4CDC #DC4C65 #ADDC4C #4CDCC3
split-complementary
#7B4CDC #DCC34C #65DC4C
monochromatic
#431C91 #5A26C4 #7B4CDC #A17FE6 #C6B2F0
Accessibility & contrast
On white
5.37
#7B4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#7B4CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4CDC
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4CDC | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#5F6E8D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7b4cdc; /* rgb */ color: rgb(123, 76, 220); /* oklch */ color: oklch(54.8% 0.208 293.3);
Tailwind
colors: {
custom: {
50: '#a881e8',
500: '#7b4cdc',
950: '#000000',
},
}SCSS
$custom: #7b4cdc; $custom-light: #a881e8; $custom-dark: #000000;
JSON
{
"hex": "#7b4cdc",
"rgb": {
"r": 123,
"g": 76,
"b": 220
},
"hsl": {
"h": 259.583,
"s": 67.29,
"l": 58.039
},
"oklch": {
"l": 0.54831,
"c": 0.20806,
"h": 293.3
},
"luminance": 0.14547
}Semantic roles & 50–950 ramp
primary
#7B4CDC
secondary
#CCDFA5
accent
#EA3EB2
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100A16
muted
#7F7C84