#7B4ED0#7B4ED0
#7B4ED0 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.191 H 295.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4ED0 |
|---|---|
| RGB | rgb(123, 78, 208) |
| HSL | hsl(261, 58%, 56%) |
| HSV | hsv(261, 63%, 82%) |
| CMYK | cmyk(40.9%, 62.5%, 0%, 18.4%) |
| CIE-LAB | lab(44.54, 47.33, -60.71) |
| CIE-LCH | lch(44.54, 76.98, 307.94°) |
| OKLab | oklab(54.22% 0.0814 -0.1731) |
| OKLCH | oklch(54.22% 0.191 295.2) |
| XYZ | xyz(22.2749, 14.2133, 61.2321) |
| Luminance | 0.1421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.71
Bluish Purple
#703BE7
ΔE00 5.20
Bluey Purple
#6241C7
ΔE00 5.57
Iris
#6258C4
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4ED0 #A3D04E
analogous
#4E62D0 #7B4ED0 #BC4ED0
triadic
#7B4ED0 #D07B4E #4ED07B
tetradic
#7B4ED0 #D04E62 #A3D04E #4ED0BC
square
#7B4ED0 #D04E62 #A3D04E #4ED0BC
split-complementary
#7B4ED0 #D0BC4E #62D04E
monochromatic
#432281 #5C2FB2 #7B4ED0 #9F7EDD #C3AFEA
Accessibility & contrast
On white
5.46
#7B4ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#7B4ED0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4ED0
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4ED0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4ED0 | 1.00 | 5.46 | 3.84 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#656B88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7b4ed0; /* rgb */ color: rgb(123, 78, 208); /* oklch */ color: oklch(54.2% 0.191 295.2);
Tailwind
colors: {
custom: {
50: '#a782df',
500: '#7b4ed0',
950: '#000000',
},
}SCSS
$custom: #7b4ed0; $custom-light: #a782df; $custom-dark: #000000;
JSON
{
"hex": "#7b4ed0",
"rgb": {
"r": 123,
"g": 78,
"b": 208
},
"hsl": {
"h": 260.769,
"s": 58.036,
"l": 56.078
},
"oklch": {
"l": 0.5422,
"c": 0.19129,
"h": 295.2
},
"luminance": 0.14214
}Semantic roles & 50–950 ramp
primary
#7B4ED0
secondary
#C5D8A2
accent
#E147AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83