#7D54BB#7D54BB
#7D54BB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.9% C 0.157 H 299.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7D54BB |
|---|---|
| RGB | rgb(125, 84, 187) |
| HSL | hsl(264, 43%, 53%) |
| HSV | hsv(264, 55%, 73%) |
| CMYK | cmyk(33.2%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(44.64, 38.92, -48.37) |
| CIE-LCH | lch(44.64, 62.08, 308.82°) |
| OKLab | oklab(53.91% 0.0773 -0.1368) |
| OKLCH | oklch(53.91% 0.157 299.5) |
| XYZ | xyz(20.5953, 14.2883, 48.6769) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.22
Deep Lavender
#8D5EB7
ΔE00 4.91
Light Indigo
#6D5ACF
ΔE00 5.35
Slate Blue
#6A5ACD
ΔE00 5.61
Iris
#6258C4
ΔE00 6.18
Purpley
#8756E4
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D54BB #92BB54
analogous
#545FBB #7D54BB #B054BB
triadic
#7D54BB #BB7D54 #54BB7D
tetradic
#7D54BB #BB545F #92BB54 #54BBB0
square
#7D54BB #BB545F #92BB54 #54BBB0
split-complementary
#7D54BB #BBB054 #5FBB54
monochromatic
#442A6A #603C96 #7D54BB #9E80CC #C0ACDE
Accessibility & contrast
On white
5.44
#7D54BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#7D54BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D54BB
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D54BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D54BB | 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)
#2A69BE
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#70687F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7d54bb; /* rgb */ color: rgb(125, 84, 187); /* oklch */ color: oklch(53.9% 0.157 299.5);
Tailwind
colors: {
custom: {
50: '#a685d0',
500: '#7d54bb',
950: '#000000',
},
}SCSS
$custom: #7d54bb; $custom-light: #a685d0; $custom-dark: #000000;
JSON
{
"hex": "#7d54bb",
"rgb": {
"r": 125,
"g": 84,
"b": 187
},
"hsl": {
"h": 263.883,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.53909,
"c": 0.15711,
"h": 299.5
},
"luminance": 0.14288
}Semantic roles & 50–950 ramp
primary
#7D54BB
secondary
#BACC9F
accent
#D355A1
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82