#7B4FD9#7B4FD9
#7B4FD9 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.0% C 0.201 H 293.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FD9 |
|---|---|
| RGB | rgb(123, 79, 217) |
| HSL | hsl(259, 64%, 58%) |
| HSV | hsv(259, 64%, 85%) |
| CMYK | cmyk(43.3%, 63.6%, 0%, 14.9%) |
| CIE-LAB | lab(45.38, 49.20, -64.51) |
| CIE-LCH | lch(45.38, 81.13, 307.34°) |
| OKLab | oklab(55.03% 0.0796 -0.1843) |
| OKLCH | oklch(55.03% 0.201 293.4) |
| XYZ | xyz(23.4853, 14.8120, 67.2538) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.35
Light Indigo
#6D5ACF
ΔE00 4.11
Slate Blue
#6A5ACD
ΔE00 4.59
Bluish Purple
#703BE7
ΔE00 4.89
Purpleish Blue
#6140EF
ΔE00 5.65
Iris
#6258C4
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FD9 #ADD94F
analogous
#4F68D9 #7B4FD9 #C04FD9
triadic
#7B4FD9 #D97B4F #4FD97B
tetradic
#7B4FD9 #D94F68 #ADD94F #4FD9C0
square
#7B4FD9 #D94F68 #ADD94F #4FD9C0
split-complementary
#7B4FD9 #D9C04F #68D94F
monochromatic
#431F8F #5A2AC1 #7B4FD9 #A181E4 #C6B4EF
Accessibility & contrast
On white
5.30
#7B4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#7B4FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FD9
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FD9 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#616F8D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7b4fd9; /* rgb */ color: rgb(123, 79, 217); /* oklch */ color: oklch(55.0% 0.201 293.4);
Tailwind
colors: {
custom: {
50: '#a883e6',
500: '#7b4fd9',
950: '#000000',
},
}SCSS
$custom: #7b4fd9; $custom-light: #a883e6; $custom-dark: #000000;
JSON
{
"hex": "#7b4fd9",
"rgb": {
"r": 123,
"g": 79,
"b": 217
},
"hsl": {
"h": 259.13,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.55029,
"c": 0.20071,
"h": 293.4
},
"luminance": 0.14813
}Semantic roles & 50–950 ramp
primary
#7B4FD9
secondary
#CCDDA6
accent
#E740B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84