#7B4CDF#7B4CDF
#7B4CDF is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.212 H 292.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4CDF |
|---|---|
| RGB | rgb(123, 76, 223) |
| HSL | hsl(259, 70%, 59%) |
| HSV | hsv(259, 66%, 87%) |
| CMYK | cmyk(44.8%, 65.9%, 0%, 12.5%) |
| CIE-LAB | lab(45.23, 52.41, -68.16) |
| CIE-LCH | lch(45.23, 85.98, 307.56°) |
| OKLab | oklab(55.06% 0.082 -0.195) |
| OKLCH | oklch(55.06% 0.212 292.8) |
| XYZ | xyz(24.0684, 14.7068, 71.3683) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.55
Bluish Purple
#703BE7
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.81
Purpleish Blue
#6140EF
ΔE00 4.92
Slate Blue
#6A5ACD
ΔE00 5.26
Blueviolet
#8A2BE2
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4CDF #B0DF4C
analogous
#4C66DF #7B4CDF #C44CDF
triadic
#7B4CDF #DF7B4C #4CDF7B
tetradic
#7B4CDF #DF4C66 #B0DF4C #4CDFC4
square
#7B4CDF #DF4C66 #B0DF4C #4CDFC4
split-complementary
#7B4CDF #DFC44C #66DF4C
monochromatic
#421B96 #5924CA #7B4CDF #A180E8 #C8B4F2
Accessibility & contrast
On white
5.33
#7B4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#7B4CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4CDF
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4CDF | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#5E708F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7b4cdf; /* rgb */ color: rgb(123, 76, 223); /* oklch */ color: oklch(55.1% 0.212 292.8);
Tailwind
colors: {
custom: {
50: '#a981ea',
500: '#7b4cdf',
950: '#000000',
},
}SCSS
$custom: #7b4cdf; $custom-light: #a981ea; $custom-dark: #000000;
JSON
{
"hex": "#7b4cdf",
"rgb": {
"r": 123,
"g": 76,
"b": 223
},
"hsl": {
"h": 259.184,
"s": 69.668,
"l": 58.627
},
"oklch": {
"l": 0.55062,
"c": 0.21155,
"h": 292.8
},
"luminance": 0.14708
}Semantic roles & 50–950 ramp
primary
#7B4CDF
secondary
#CEE0A6
accent
#EC3BB4
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84