#7D54C8#7D54C8
#7D54C8 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.173 H 296.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7D54C8 |
|---|---|
| RGB | rgb(125, 84, 200) |
| HSL | hsl(261, 51%, 56%) |
| HSV | hsv(261, 58%, 78%) |
| CMYK | cmyk(37.5%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(45.46, 42.33, -54.61) |
| CIE-LCH | lch(45.46, 69.09, 307.78°) |
| OKLab | oklab(54.77% 0.0775 -0.1551) |
| OKLCH | oklch(54.77% 0.173 296.5) |
| XYZ | xyz(22.0504, 14.8704, 56.3409) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.96
Slate Blue
#6A5ACD
ΔE00 4.38
Purpley
#8756E4
ΔE00 4.45
Royal Purple
#7851A9
ΔE00 5.30
Iris
#6258C4
ΔE00 5.50
Deep Lavender
#8D5EB7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D54C8 #9FC854
analogous
#5465C8 #7D54C8 #B754C8
triadic
#7D54C8 #C87D54 #54C87D
tetradic
#7D54C8 #C85465 #9FC854 #54C8B7
square
#7D54C8 #C85465 #9FC854 #54C8B7
split-complementary
#7D54C8 #C8B754 #65C854
monochromatic
#45277A #5F36A9 #7D54C8 #A082D7 #C3B1E6
Accessibility & contrast
On white
5.28
#7D54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#7D54C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D54C8
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D54C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D54C8 | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126CCC
Deuteranopia (green-blind)
#276AC5
Tritanopia (blue-blind)
#6B6D86
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7d54c8; /* rgb */ color: rgb(125, 84, 200); /* oklch */ color: oklch(54.8% 0.173 296.5);
Tailwind
colors: {
custom: {
50: '#a786d9',
500: '#7d54c8',
950: '#000000',
},
}SCSS
$custom: #7d54c8; $custom-light: #a786d9; $custom-dark: #000000;
JSON
{
"hex": "#7d54c8",
"rgb": {
"r": 125,
"g": 84,
"b": 200
},
"hsl": {
"h": 261.207,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.54768,
"c": 0.17336,
"h": 296.5
},
"luminance": 0.14871
}Semantic roles & 50–950 ramp
primary
#7D54C8
secondary
#C3D4A4
accent
#DB4DA9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83