#7B4FDA#7B4FDA
#7B4FDA is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.1% C 0.202 H 293.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FDA |
|---|---|
| RGB | rgb(123, 79, 218) |
| HSL | hsl(259, 65%, 58%) |
| HSV | hsv(259, 64%, 85%) |
| CMYK | cmyk(43.6%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(45.45, 49.47, -64.96) |
| CIE-LCH | lch(45.45, 81.65, 307.29°) |
| OKLab | oklab(55.1% 0.0795 -0.1856) |
| OKLCH | oklch(55.1% 0.202 293.2) |
| XYZ | xyz(23.6158, 14.8642, 67.9409) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.29
Light Indigo
#6D5ACF
ΔE00 4.13
Slate Blue
#6A5ACD
ΔE00 4.61
Bluish Purple
#703BE7
ΔE00 4.86
Purpleish Blue
#6140EF
ΔE00 5.59
Iris
#6258C4
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FDA #AEDA4F
analogous
#4F68DA #7B4FDA #C04FDA
triadic
#7B4FDA #DA7B4F #4FDA7B
tetradic
#7B4FDA #DA4F68 #AEDA4F #4FDAC0
square
#7B4FDA #DA4F68 #AEDA4F #4FDAC0
split-complementary
#7B4FDA #DAC04F #68DA4F
monochromatic
#421E90 #5A29C3 #7B4FDA #A182E5 #C7B4EF
Accessibility & contrast
On white
5.29
#7B4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#7B4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FDA
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FDA | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#60708D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7b4fda; /* rgb */ color: rgb(123, 79, 218); /* oklch */ color: oklch(55.1% 0.202 293.2);
Tailwind
colors: {
custom: {
50: '#a883e6',
500: '#7b4fda',
950: '#000000',
},
}SCSS
$custom: #7b4fda; $custom-light: #a883e6; $custom-dark: #000000;
JSON
{
"hex": "#7b4fda",
"rgb": {
"r": 123,
"g": 79,
"b": 218
},
"hsl": {
"h": 258.993,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.55104,
"c": 0.20191,
"h": 293.2
},
"luminance": 0.14865
}Semantic roles & 50–950 ramp
primary
#7B4FDA
secondary
#CDDEA7
accent
#E840B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84