#7C54F2#7C54F2
#7C54F2 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.7% C 0.224 H 289.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7C54F2 |
|---|---|
| RGB | rgb(124, 84, 242) |
| HSL | hsl(255, 86%, 64%) |
| HSV | hsv(255, 65%, 95%) |
| CMYK | cmyk(48.8%, 65.3%, 0%, 5.1%) |
| CIE-LAB | lab(48.30, 53.55, -73.88) |
| CIE-LCH | lch(48.30, 91.24, 305.93°) |
| OKLab | oklab(57.75% 0.0732 -0.2118) |
| OKLCH | oklch(57.75% 0.224 289.1) |
| XYZ | xyz(27.5049, 17.0354, 85.8261) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.70
Mediumslateblue
#7B68EE
ΔE00 5.40
Light Indigo
#6D5ACF
ΔE00 5.48
Slate Blue
#6A5ACD
ΔE00 5.99
Purpleish Blue
#6140EF
ΔE00 6.42
Dark Periwinkle
#665FD1
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C54F2 #CAF254
analogous
#547BF2 #7C54F2 #CB54F2
triadic
#7C54F2 #F27C54 #54F27C
tetradic
#7C54F2 #F2547B #CAF254 #54F2CB
square
#7C54F2 #F2547B #CAF254 #54F2CB
split-complementary
#7C54F2 #F2CB54 #7BF254
monochromatic
#3B0EBD #501BEE #7C54F2 #A88DF6 #D3C6FB
Accessibility & contrast
On white
4.76
#7C54F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#7C54F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C54F2
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C54F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C54F2 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#537B9C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7c54f2; /* rgb */ color: rgb(124, 84, 242); /* oklch */ color: oklch(57.7% 0.224 289.1);
Tailwind
colors: {
custom: {
50: '#ab86f7',
500: '#7c54f2',
950: '#000000',
},
}SCSS
$custom: #7c54f2; $custom-light: #ab86f7; $custom-dark: #000000;
JSON
{
"hex": "#7c54f2",
"rgb": {
"r": 124,
"g": 84,
"b": 242
},
"hsl": {
"h": 255.19,
"s": 85.87,
"l": 63.922
},
"oklch": {
"l": 0.57746,
"c": 0.22407,
"h": 289.1
},
"luminance": 0.17037
}Semantic roles & 50–950 ramp
primary
#7C54F2
secondary
#DFEDB5
accent
#E203AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85