#7451C7#7451C7
#7451C7 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.176 H 293.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7451C7 |
|---|---|
| RGB | rgb(116, 81, 199) |
| HSL | hsl(258, 51%, 55%) |
| HSV | hsv(258, 59%, 78%) |
| CMYK | cmyk(41.7%, 59.3%, 0%, 22%) |
| CIE-LAB | lab(43.83, 41.73, -56.70) |
| CIE-LCH | lch(43.83, 70.40, 306.35°) |
| OKLab | oklab(53.34% 0.0692 -0.1615) |
| OKLCH | oklch(53.34% 0.176 293.2) |
| XYZ | xyz(20.4509, 13.7208, 55.5926) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.36
Slate Blue
#6A5ACD
ΔE00 3.59
Iris
#6258C4
ΔE00 4.23
Bluey Purple
#6241C7
ΔE00 5.15
Royal Purple
#7851A9
ΔE00 5.46
Purpley
#8756E4
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7451C7 #A4C751
analogous
#5169C7 #7451C7 #AF51C7
triadic
#7451C7 #C77451 #51C774
tetradic
#7451C7 #C75169 #A4C751 #51C7AF
square
#7451C7 #C75169 #A4C751 #51C7AF
split-complementary
#7451C7 #C7AF51 #69C751
monochromatic
#3E2677 #5735A6 #7451C7 #997FD6 #BEAEE5
Accessibility & contrast
On white
5.61
#7451C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#7451C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7451C7
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7451C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7451C7 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#0F65C4
Tritanopia (blue-blind)
#5E6B84
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7451c7; /* rgb */ color: rgb(116, 81, 199); /* oklch */ color: oklch(53.3% 0.176 293.2);
Tailwind
colors: {
custom: {
50: '#a183d9',
500: '#7451c7',
950: '#000000',
},
}SCSS
$custom: #7451c7; $custom-light: #a183d9; $custom-dark: #000000;
JSON
{
"hex": "#7451c7",
"rgb": {
"r": 116,
"g": 81,
"b": 199
},
"hsl": {
"h": 257.797,
"s": 51.304,
"l": 54.902
},
"oklch": {
"l": 0.53341,
"c": 0.17571,
"h": 293.2
},
"luminance": 0.13721
}Semantic roles & 50–950 ramp
primary
#7451C7
secondary
#C4D3A1
accent
#DB4DB1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B15
muted
#7F7C83