#7451E2#7451E2
#7451E2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.3% C 0.209 H 288.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7451E2 |
|---|---|
| RGB | rgb(116, 81, 226) |
| HSL | hsl(254, 71%, 60%) |
| HSV | hsv(254, 64%, 89%) |
| CMYK | cmyk(48.7%, 64.2%, 0%, 11.4%) |
| CIE-LAB | lab(45.75, 49.27, -69.04) |
| CIE-LCH | lch(45.75, 84.82, 305.51°) |
| OKLab | oklab(55.35% 0.0673 -0.1978) |
| OKLCH | oklch(55.35% 0.209 288.8) |
| XYZ | xyz(23.8684, 15.0878, 73.5914) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.65
Light Indigo
#6D5ACF
ΔE00 3.68
Slate Blue
#6A5ACD
ΔE00 4.11
Purpleish Blue
#6140EF
ΔE00 4.83
Bluish Purple
#703BE7
ΔE00 4.89
Dark Periwinkle
#665FD1
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7451E2 #BFE251
analogous
#5176E2 #7451E2 #BD51E2
triadic
#7451E2 #E27451 #51E274
tetradic
#7451E2 #E25176 #BFE251 #51E2BD
square
#7451E2 #E25176 #BFE251 #51E2BD
split-complementary
#7451E2 #E2BD51 #76E251
monochromatic
#3A1A9E #4D23D3 #7451E2 #9E85EB #C8BAF3
Accessibility & contrast
On white
5.23
#7451E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#7451E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7451E2
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7451E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7451E2 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#4E7492
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7451e2; /* rgb */ color: rgb(116, 81, 226); /* oklch */ color: oklch(55.3% 0.209 288.8);
Tailwind
colors: {
custom: {
50: '#a484ec',
500: '#7451e2',
950: '#000000',
},
}SCSS
$custom: #7451e2; $custom-light: #a484ec; $custom-dark: #000000;
JSON
{
"hex": "#7451e2",
"rgb": {
"r": 116,
"g": 81,
"b": 226
},
"hsl": {
"h": 254.483,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.55349,
"c": 0.20895,
"h": 288.8
},
"luminance": 0.15089
}Semantic roles & 50–950 ramp
primary
#7451E2
secondary
#D6E3AC
accent
#D312A5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84