#7C54CF#7C54CF
#7C54CF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.182 H 294.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7C54CF |
|---|---|
| RGB | rgb(124, 84, 207) |
| HSL | hsl(260, 56%, 57%) |
| HSV | hsv(260, 59%, 81%) |
| CMYK | cmyk(40.1%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(45.81, 43.98, -58.07) |
| CIE-LCH | lch(45.81, 72.84, 307.14°) |
| OKLab | oklab(55.15% 0.076 -0.1653) |
| OKLCH | oklch(55.15% 0.182 294.7) |
| XYZ | xyz(22.7420, 15.1302, 60.7416) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.42
Purpley
#8756E4
ΔE00 3.61
Slate Blue
#6A5ACD
ΔE00 3.92
Iris
#6258C4
ΔE00 5.31
Dark Periwinkle
#665FD1
ΔE00 5.56
Royal Purple
#7851A9
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C54CF #A7CF54
analogous
#546ACF #7C54CF #B954CF
triadic
#7C54CF #CF7C54 #54CF7C
tetradic
#7C54CF #CF546A #A7CF54 #54CFB9
square
#7C54CF #CF546A #A7CF54 #54CFB9
split-complementary
#7C54CF #CFB954 #6ACF54
monochromatic
#442584 #5C32B3 #7C54CF #A184DC #C5B4EA
Accessibility & contrast
On white
5.22
#7C54CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#7C54CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C54CF
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C54CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C54CF | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#166BCC
Tritanopia (blue-blind)
#676F89
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7c54cf; /* rgb */ color: rgb(124, 84, 207); /* oklch */ color: oklch(55.2% 0.182 294.7);
Tailwind
colors: {
custom: {
50: '#a786de',
500: '#7c54cf',
950: '#000000',
},
}SCSS
$custom: #7c54cf; $custom-light: #a786de; $custom-dark: #000000;
JSON
{
"hex": "#7c54cf",
"rgb": {
"r": 124,
"g": 84,
"b": 207
},
"hsl": {
"h": 259.512,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.55151,
"c": 0.18193,
"h": 294.7
},
"luminance": 0.15131
}Semantic roles & 50–950 ramp
primary
#7C54CF
secondary
#C8D8A6
accent
#DF48AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83