#7451C2#7451C2
#7451C2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.169 H 294.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7451C2 |
|---|---|
| RGB | rgb(116, 81, 194) |
| HSL | hsl(259, 48%, 54%) |
| HSV | hsv(259, 58%, 76%) |
| CMYK | cmyk(40.2%, 58.2%, 0%, 23.9%) |
| CIE-LAB | lab(43.50, 40.35, -54.34) |
| CIE-LCH | lch(43.50, 67.68, 306.60°) |
| OKLab | oklab(52.99% 0.0693 -0.1546) |
| OKLCH | oklch(52.99% 0.169 294.1) |
| XYZ | xyz(19.8799, 13.4924, 52.5854) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 3.97
Iris
#6258C4
ΔE00 4.36
Royal Purple
#7851A9
ΔE00 4.70
Bluey Purple
#6241C7
ΔE00 5.26
Dark Periwinkle
#665FD1
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7451C2 #9FC251
analogous
#5167C2 #7451C2 #AD51C2
triadic
#7451C2 #C27451 #51C274
tetradic
#7451C2 #C25167 #9FC251 #51C2AD
square
#7451C2 #C25167 #9FC251 #51C2AD
split-complementary
#7451C2 #C2AD51 #67C251
monochromatic
#3E2871 #57379E #7451C2 #987ED2 #BCACE2
Accessibility & contrast
On white
5.68
#7451C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#7451C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7451C2
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7451C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7451C2 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0968C6
Deuteranopia (green-blind)
#1D65C0
Tritanopia (blue-blind)
#606982
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7451c2; /* rgb */ color: rgb(116, 81, 194); /* oklch */ color: oklch(53.0% 0.169 294.1);
Tailwind
colors: {
custom: {
50: '#a183d5',
500: '#7451c2',
950: '#000000',
},
}SCSS
$custom: #7451c2; $custom-light: #a183d5; $custom-dark: #000000;
JSON
{
"hex": "#7451c2",
"rgb": {
"r": 116,
"g": 81,
"b": 194
},
"hsl": {
"h": 258.584,
"s": 48.085,
"l": 53.922
},
"oklch": {
"l": 0.5299,
"c": 0.1694,
"h": 294.1
},
"luminance": 0.13493
}Semantic roles & 50–950 ramp
primary
#7451C2
secondary
#C1D09F
accent
#D850AE
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83