#7B4ED7#7B4ED7
#7B4ED7 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.200 H 293.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4ED7 |
|---|---|
| RGB | rgb(123, 78, 215) |
| HSL | hsl(260, 63%, 57%) |
| HSV | hsv(260, 64%, 84%) |
| CMYK | cmyk(42.8%, 63.7%, 0%, 15.7%) |
| CIE-LAB | lab(45.03, 49.20, -63.92) |
| CIE-LCH | lch(45.03, 80.66, 307.59°) |
| OKLab | oklab(54.74% 0.0808 -0.1825) |
| OKLCH | oklch(54.74% 0.2 293.9) |
| XYZ | xyz(23.1552, 14.5654, 65.8682) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.67
Light Indigo
#6D5ACF
ΔE00 4.26
Slate Blue
#6A5ACD
ΔE00 4.71
Bluish Purple
#703BE7
ΔE00 4.76
Purpleish Blue
#6140EF
ΔE00 5.64
Bluey Purple
#6241C7
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4ED7 #AAD74E
analogous
#4E65D7 #7B4ED7 #C04ED7
triadic
#7B4ED7 #D77B4E #4ED77B
tetradic
#7B4ED7 #D74E65 #AAD74E #4ED7C0
square
#7B4ED7 #D74E65 #AAD74E #4ED7C0
split-complementary
#7B4ED7 #D7C04E #65D74E
monochromatic
#431F8B #5B2BBD #7B4ED7 #A080E2 #C5B2EE
Accessibility & contrast
On white
5.37
#7B4ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#7B4ED7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4ED7
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4ED7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4ED7 | 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)
#006CDB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#626E8B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7b4ed7; /* rgb */ color: rgb(123, 78, 215); /* oklch */ color: oklch(54.7% 0.200 293.9);
Tailwind
colors: {
custom: {
50: '#a882e4',
500: '#7b4ed7',
950: '#000000',
},
}SCSS
$custom: #7b4ed7; $custom-light: #a882e4; $custom-dark: #000000;
JSON
{
"hex": "#7b4ed7",
"rgb": {
"r": 123,
"g": 78,
"b": 215
},
"hsl": {
"h": 259.708,
"s": 63.134,
"l": 57.451
},
"oklch": {
"l": 0.54736,
"c": 0.19964,
"h": 293.9
},
"luminance": 0.14566
}Semantic roles & 50–950 ramp
primary
#7B4ED7
secondary
#CADCA5
accent
#E642B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84