#7451C8#7451C8
#7451C8 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.177 H 293.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7451C8 |
|---|---|
| RGB | rgb(116, 81, 200) |
| HSL | hsl(258, 52%, 55%) |
| HSV | hsv(258, 60%, 78%) |
| CMYK | cmyk(42%, 59.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.90, 42.00, -57.17) |
| CIE-LCH | lch(43.90, 70.94, 306.31°) |
| OKLab | oklab(53.41% 0.0691 -0.1629) |
| OKLCH | oklch(53.41% 0.177 293) |
| XYZ | xyz(20.5674, 13.7674, 56.2061) |
| Luminance | 0.1377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.29
Slate Blue
#6A5ACD
ΔE00 3.53
Iris
#6258C4
ΔE00 4.22
Bluey Purple
#6241C7
ΔE00 5.14
Purpley
#8756E4
ΔE00 5.42
Dark Periwinkle
#665FD1
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7451C8 #A5C851
analogous
#516AC8 #7451C8 #AF51C8
triadic
#7451C8 #C87451 #51C874
tetradic
#7451C8 #C8516A #A5C851 #51C8AF
square
#7451C8 #C8516A #A5C851 #51C8AF
split-complementary
#7451C8 #C8AF51 #6AC851
monochromatic
#3E2679 #5635A7 #7451C8 #9980D7 #BEAEE5
Accessibility & contrast
On white
5.59
#7451C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#7451C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7451C8
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7451C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7451C8 | 1.00 | 5.59 | 3.75 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0B66C5
Tritanopia (blue-blind)
#5D6B85
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7451c8; /* rgb */ color: rgb(116, 81, 200); /* oklch */ color: oklch(53.4% 0.177 293.0);
Tailwind
colors: {
custom: {
50: '#a283d9',
500: '#7451c8',
950: '#000000',
},
}SCSS
$custom: #7451c8; $custom-light: #a283d9; $custom-dark: #000000;
JSON
{
"hex": "#7451c8",
"rgb": {
"r": 116,
"g": 81,
"b": 200
},
"hsl": {
"h": 257.647,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.53412,
"c": 0.17697,
"h": 293
},
"luminance": 0.13768
}Semantic roles & 50–950 ramp
primary
#7451C8
secondary
#C5D3A1
accent
#DB4CB1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83