#7D54BE#7D54BE
#7D54BE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.1% C 0.161 H 298.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7D54BE |
|---|---|
| RGB | rgb(125, 84, 190) |
| HSL | hsl(263, 45%, 54%) |
| HSV | hsv(263, 56%, 75%) |
| CMYK | cmyk(34.2%, 55.8%, 0%, 25.5%) |
| CIE-LAB | lab(44.83, 39.70, -49.82) |
| CIE-LCH | lch(44.83, 63.71, 308.55°) |
| OKLab | oklab(54.1% 0.0774 -0.141) |
| OKLCH | oklch(54.1% 0.161 298.8) |
| XYZ | xyz(20.9198, 14.4181, 50.3860) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.70
Light Indigo
#6D5ACF
ΔE00 4.96
Deep Lavender
#8D5EB7
ΔE00 5.12
Slate Blue
#6A5ACD
ΔE00 5.26
Purpley
#8756E4
ΔE00 5.93
Iris
#6258C4
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D54BE #95BE54
analogous
#5460BE #7D54BE #B254BE
triadic
#7D54BE #BE7D54 #54BE7D
tetradic
#7D54BE #BE5460 #95BE54 #54BEB2
square
#7D54BE #BE5460 #95BE54 #54BEB2
split-complementary
#7D54BE #BEB254 #60BE54
monochromatic
#442A6E #603B9A #7D54BE #9F80CF #C0ADE0
Accessibility & contrast
On white
5.41
#7D54BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7D54BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D54BE
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D54BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D54BE | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266AC2
Deuteranopia (green-blind)
#3469BC
Tritanopia (blue-blind)
#6F6981
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7d54be; /* rgb */ color: rgb(125, 84, 190); /* oklch */ color: oklch(54.1% 0.161 298.8);
Tailwind
colors: {
custom: {
50: '#a685d2',
500: '#7d54be',
950: '#000000',
},
}SCSS
$custom: #7d54be; $custom-light: #a685d2; $custom-dark: #000000;
JSON
{
"hex": "#7d54be",
"rgb": {
"r": 125,
"g": 84,
"b": 190
},
"hsl": {
"h": 263.208,
"s": 44.915,
"l": 53.725
},
"oklch": {
"l": 0.54103,
"c": 0.16089,
"h": 298.8
},
"luminance": 0.14418
}Semantic roles & 50–950 ramp
primary
#7D54BE
secondary
#BCCEA0
accent
#D553A3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83