#7C51DC#7C51DC
#7C51DC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.6% C 0.202 H 292.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7C51DC |
|---|---|
| RGB | rgb(124, 81, 220) |
| HSL | hsl(259, 67%, 59%) |
| HSV | hsv(259, 63%, 86%) |
| CMYK | cmyk(43.6%, 63.2%, 0%, 13.7%) |
| CIE-LAB | lab(46.09, 49.13, -65.05) |
| CIE-LCH | lch(46.09, 81.52, 307.06°) |
| OKLab | oklab(55.64% 0.0785 -0.1858) |
| OKLCH | oklch(55.64% 0.202 292.9) |
| XYZ | xyz(24.1693, 15.3365, 69.3831) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.72
Light Indigo
#6D5ACF
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.52
Bluish Purple
#703BE7
ΔE00 5.33
Dark Periwinkle
#665FD1
ΔE00 5.90
Purpleish Blue
#6140EF
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C51DC #B1DC51
analogous
#516CDC #7C51DC #C251DC
triadic
#7C51DC #DC7C51 #51DC7C
tetradic
#7C51DC #DC516C #B1DC51 #51DCC2
square
#7C51DC #DC516C #B1DC51 #51DCC2
split-complementary
#7C51DC #DCC251 #6CDC51
monochromatic
#431E95 #5928C8 #7C51DC #A284E6 #C9B7F0
Accessibility & contrast
On white
5.16
#7C51DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#7C51DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C51DC
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C51DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C51DC | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#61718F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7c51dc; /* rgb */ color: rgb(124, 81, 220); /* oklch */ color: oklch(55.6% 0.202 292.9);
Tailwind
colors: {
custom: {
50: '#a984e8',
500: '#7c51dc',
950: '#000000',
},
}SCSS
$custom: #7c51dc; $custom-light: #a984e8; $custom-dark: #000000;
JSON
{
"hex": "#7c51dc",
"rgb": {
"r": 124,
"g": 81,
"b": 220
},
"hsl": {
"h": 258.561,
"s": 66.507,
"l": 59.02
},
"oklch": {
"l": 0.55639,
"c": 0.20174,
"h": 292.9
},
"luminance": 0.15337
}Semantic roles & 50–950 ramp
primary
#7C51DC
secondary
#CFE0A9
accent
#E93EB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84