#7B4FD8#7B4FD8
#7B4FD8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.200 H 293.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FD8 |
|---|---|
| RGB | rgb(123, 79, 216) |
| HSL | hsl(259, 64%, 58%) |
| HSV | hsv(259, 63%, 85%) |
| CMYK | cmyk(43.1%, 63.4%, 0%, 15.3%) |
| CIE-LAB | lab(45.30, 48.94, -64.05) |
| CIE-LCH | lch(45.30, 80.61, 307.38°) |
| OKLab | oklab(54.95% 0.0797 -0.1829) |
| OKLCH | oklch(54.95% 0.2 293.5) |
| XYZ | xyz(23.3557, 14.7601, 66.5709) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.43
Light Indigo
#6D5ACF
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.56
Bluish Purple
#703BE7
ΔE00 4.93
Purpleish Blue
#6140EF
ΔE00 5.71
Iris
#6258C4
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FD8 #ACD84F
analogous
#4F67D8 #7B4FD8 #BF4FD8
triadic
#7B4FD8 #D87B4F #4FD87B
tetradic
#7B4FD8 #D84F67 #ACD84F #4FD8BF
square
#7B4FD8 #D84F67 #ACD84F #4FD8BF
split-complementary
#7B4FD8 #D8BF4F #67D84F
monochromatic
#431F8D #5A2ABF #7B4FD8 #A181E3 #C6B3EE
Accessibility & contrast
On white
5.31
#7B4FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7B4FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FD8
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FD8 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#616F8C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7b4fd8; /* rgb */ color: rgb(123, 79, 216); /* oklch */ color: oklch(55.0% 0.200 293.5);
Tailwind
colors: {
custom: {
50: '#a883e5',
500: '#7b4fd8',
950: '#000000',
},
}SCSS
$custom: #7b4fd8; $custom-light: #a883e5; $custom-dark: #000000;
JSON
{
"hex": "#7b4fd8",
"rgb": {
"r": 123,
"g": 79,
"b": 216
},
"hsl": {
"h": 259.27,
"s": 63.721,
"l": 57.843
},
"oklch": {
"l": 0.54954,
"c": 0.19953,
"h": 293.5
},
"luminance": 0.14761
}Semantic roles & 50–950 ramp
primary
#7B4FD8
secondary
#CBDDA6
accent
#E741B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84