#7C54DF#7C54DF
#7C54DF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.3% C 0.201 H 291.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7C54DF |
|---|---|
| RGB | rgb(124, 84, 223) |
| HSL | hsl(257, 68%, 60%) |
| HSV | hsv(257, 62%, 87%) |
| CMYK | cmyk(44.4%, 62.3%, 0%, 12.5%) |
| CIE-LAB | lab(46.91, 48.32, -65.43) |
| CIE-LCH | lch(46.91, 81.34, 306.45°) |
| OKLab | oklab(56.3% 0.0751 -0.1869) |
| OKLCH | oklch(56.3% 0.201 291.9) |
| XYZ | xyz(24.7981, 15.9526, 71.5703) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.18
Light Indigo
#6D5ACF
ΔE00 3.78
Slate Blue
#6A5ACD
ΔE00 4.35
Dark Periwinkle
#665FD1
ΔE00 5.47
Bluish Purple
#703BE7
ΔE00 6.00
Iris
#6258C4
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C54DF #B7DF54
analogous
#5472DF #7C54DF #C154DF
triadic
#7C54DF #DF7C54 #54DF7C
tetradic
#7C54DF #DF5472 #B7DF54 #54DFC1
square
#7C54DF #DF5472 #B7DF54 #54DFC1
split-complementary
#7C54DF #DFC154 #72DF54
monochromatic
#411D9C #5727CF #7C54DF #A388E9 #CBBBF2
Accessibility & contrast
On white
5.01
#7C54DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#7C54DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C54DF
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C54DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C54DF | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#5F7492
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7c54df; /* rgb */ color: rgb(124, 84, 223); /* oklch */ color: oklch(56.3% 0.201 291.9);
Tailwind
colors: {
custom: {
50: '#a986ea',
500: '#7c54df',
950: '#000000',
},
}SCSS
$custom: #7c54df; $custom-light: #a986ea; $custom-dark: #000000;
JSON
{
"hex": "#7c54df",
"rgb": {
"r": 124,
"g": 84,
"b": 223
},
"hsl": {
"h": 257.266,
"s": 68.473,
"l": 60.196
},
"oklch": {
"l": 0.56302,
"c": 0.20146,
"h": 291.9
},
"luminance": 0.15953
}Semantic roles & 50–950 ramp
primary
#7C54DF
secondary
#D3E2AD
accent
#D0159B
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B16
muted
#7F7C84