#7B54BF#7B54BF
#7B54BF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.162 H 297.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7B54BF |
|---|---|
| RGB | rgb(123, 84, 191) |
| HSL | hsl(262, 46%, 54%) |
| HSV | hsv(262, 56%, 75%) |
| CMYK | cmyk(35.6%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(44.68, 39.48, -50.65) |
| CIE-LCH | lch(44.68, 64.22, 307.93°) |
| OKLab | oklab(53.97% 0.0748 -0.1435) |
| OKLCH | oklch(53.97% 0.162 297.5) |
| XYZ | xyz(20.7403, 14.3129, 50.9501) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.89
Light Indigo
#6D5ACF
ΔE00 4.53
Slate Blue
#6A5ACD
ΔE00 4.81
Iris
#6258C4
ΔE00 5.48
Deep Lavender
#8D5EB7
ΔE00 5.53
Purpley
#8756E4
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B54BF #98BF54
analogous
#5463BF #7B54BF #B154BF
triadic
#7B54BF #BF7B54 #54BF7B
tetradic
#7B54BF #BF5463 #98BF54 #54BFB1
square
#7B54BF #BF5463 #98BF54 #54BFB1
split-complementary
#7B54BF #BFB154 #63BF54
monochromatic
#432A6F #5E3A9C #7B54BF #9D81D0 #C0ADE0
Accessibility & contrast
On white
5.44
#7B54BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#7B54BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B54BF
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B54BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B54BF | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#236AC3
Deuteranopia (green-blind)
#3168BD
Tritanopia (blue-blind)
#6C6A81
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7b54bf; /* rgb */ color: rgb(123, 84, 191); /* oklch */ color: oklch(54.0% 0.162 297.5);
Tailwind
colors: {
custom: {
50: '#a585d3',
500: '#7b54bf',
950: '#000000',
},
}SCSS
$custom: #7b54bf; $custom-light: #a585d3; $custom-dark: #000000;
JSON
{
"hex": "#7b54bf",
"rgb": {
"r": 123,
"g": 84,
"b": 191
},
"hsl": {
"h": 261.869,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.53965,
"c": 0.16187,
"h": 297.5
},
"luminance": 0.14313
}Semantic roles & 50–950 ramp
primary
#7B54BF
secondary
#BECEA1
accent
#D553A6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83