#7D54CD#7D54CD
#7D54CD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.180 H 295.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7D54CD |
|---|---|
| RGB | rgb(125, 84, 205) |
| HSL | hsl(260, 55%, 57%) |
| HSV | hsv(260, 59%, 80%) |
| CMYK | cmyk(39%, 59%, 0%, 19.6%) |
| CIE-LAB | lab(45.78, 43.66, -56.96) |
| CIE-LCH | lch(45.78, 71.77, 307.47°) |
| OKLab | oklab(55.11% 0.0774 -0.162) |
| OKLCH | oklch(55.11% 0.18 295.5) |
| XYZ | xyz(22.6443, 15.1079, 59.4688) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.66
Purpley
#8756E4
ΔE00 3.78
Slate Blue
#6A5ACD
ΔE00 4.15
Iris
#6258C4
ΔE00 5.46
Dark Periwinkle
#665FD1
ΔE00 5.80
Royal Purple
#7851A9
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D54CD #A4CD54
analogous
#5468CD #7D54CD #BA54CD
triadic
#7D54CD #CD7D54 #54CD7D
tetradic
#7D54CD #CD5468 #A4CD54 #54CDBA
square
#7D54CD #CD5468 #A4CD54 #54CDBA
split-complementary
#7D54CD #CDBA54 #68CD54
monochromatic
#452681 #5E34B0 #7D54CD #A183DB #C5B3E9
Accessibility & contrast
On white
5.22
#7D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#7D54CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D54CD
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D54CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D54CD | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#1D6BCA
Tritanopia (blue-blind)
#696E88
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7d54cd; /* rgb */ color: rgb(125, 84, 205); /* oklch */ color: oklch(55.1% 0.180 295.5);
Tailwind
colors: {
custom: {
50: '#a886dd',
500: '#7d54cd',
950: '#000000',
},
}SCSS
$custom: #7d54cd; $custom-light: #a886dd; $custom-dark: #000000;
JSON
{
"hex": "#7d54cd",
"rgb": {
"r": 125,
"g": 84,
"b": 205
},
"hsl": {
"h": 260.331,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.5511,
"c": 0.17955,
"h": 295.5
},
"luminance": 0.15108
}Semantic roles & 50–950 ramp
primary
#7D54CD
secondary
#C6D7A6
accent
#DE4AAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83