#7B54BE#7B54BE
#7B54BE is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.9% C 0.161 H 297.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7B54BE |
|---|---|
| RGB | rgb(123, 84, 190) |
| HSL | hsl(262, 45%, 54%) |
| HSV | hsv(262, 56%, 75%) |
| CMYK | cmyk(35.3%, 55.8%, 0%, 25.5%) |
| CIE-LAB | lab(44.62, 39.21, -50.17) |
| CIE-LCH | lch(44.62, 63.68, 308.01°) |
| OKLab | oklab(53.9% 0.0748 -0.1421) |
| OKLCH | oklch(53.9% 0.161 297.8) |
| XYZ | xyz(20.6307, 14.2690, 50.3725) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.73
Light Indigo
#6D5ACF
ΔE00 4.65
Slate Blue
#6A5ACD
ΔE00 4.92
Deep Lavender
#8D5EB7
ΔE00 5.45
Iris
#6258C4
ΔE00 5.55
Purpley
#8756E4
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B54BE #97BE54
analogous
#5462BE #7B54BE #B054BE
triadic
#7B54BE #BE7B54 #54BE7B
tetradic
#7B54BE #BE5462 #97BE54 #54BEB0
square
#7B54BE #BE5462 #97BE54 #54BEB0
split-complementary
#7B54BE #BEB054 #62BE54
monochromatic
#432A6E #5E3B9A #7B54BE #9D80CF #BFADE0
Accessibility & contrast
On white
5.45
#7B54BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7B54BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B54BE
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B54BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B54BE | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#246AC2
Deuteranopia (green-blind)
#3268BC
Tritanopia (blue-blind)
#6C6A81
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7b54be; /* rgb */ color: rgb(123, 84, 190); /* oklch */ color: oklch(53.9% 0.161 297.8);
Tailwind
colors: {
custom: {
50: '#a585d2',
500: '#7b54be',
950: '#000000',
},
}SCSS
$custom: #7b54be; $custom-light: #a585d2; $custom-dark: #000000;
JSON
{
"hex": "#7b54be",
"rgb": {
"r": 123,
"g": 84,
"b": 190
},
"hsl": {
"h": 262.075,
"s": 44.915,
"l": 53.725
},
"oklch": {
"l": 0.539,
"c": 0.1606,
"h": 297.8
},
"luminance": 0.14269
}Semantic roles & 50–950 ramp
primary
#7B54BE
secondary
#BDCEA0
accent
#D553A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83