#7451B2#7451B2
#7451B2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.9% C 0.149 H 297.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7451B2 |
|---|---|
| RGB | rgb(116, 81, 178) |
| HSL | hsl(262, 39%, 51%) |
| HSV | hsv(262, 54%, 70%) |
| CMYK | cmyk(34.8%, 54.5%, 0%, 30.2%) |
| CIE-LAB | lab(42.48, 36.02, -46.62) |
| CIE-LCH | lch(42.48, 58.91, 307.69°) |
| OKLab | oklab(51.91% 0.0691 -0.1319) |
| OKLCH | oklch(51.91% 0.149 297.6) |
| XYZ | xyz(18.1788, 12.8120, 43.6261) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.13
Iris
#6258C4
ΔE00 5.71
Light Indigo
#6D5ACF
ΔE00 5.87
Slate Blue
#6A5ACD
ΔE00 5.90
Bluey Purple
#6241C7
ΔE00 6.52
Deep Lavender
#8D5EB7
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7451B2 #8FB251
analogous
#515FB2 #7451B2 #A451B2
triadic
#7451B2 #B27451 #51B274
tetradic
#7451B2 #B2515F #8FB251 #51B2A4
square
#7451B2 #B2515F #8FB251 #51B2A4
split-complementary
#7451B2 #B2A451 #5FB251
monochromatic
#3D2A5F #583D89 #7451B2 #967BC5 #B8A6D8
Accessibility & contrast
On white
5.89
#7451B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#7451B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7451B2
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7451B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7451B2 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#66647A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7451b2; /* rgb */ color: rgb(116, 81, 178); /* oklch */ color: oklch(51.9% 0.149 297.6);
Tailwind
colors: {
custom: {
50: '#9f83c9',
500: '#7451b2',
950: '#000000',
},
}SCSS
$custom: #7451b2; $custom-light: #9f83c9; $custom-dark: #000000;
JSON
{
"hex": "#7451b2",
"rgb": {
"r": 116,
"g": 81,
"b": 178
},
"hsl": {
"h": 261.649,
"s": 38.645,
"l": 50.784
},
"oklch": {
"l": 0.51914,
"c": 0.14889,
"h": 297.6
},
"luminance": 0.12812
}Semantic roles & 50–950 ramp
primary
#7451B2
secondary
#B5C59A
accent
#CF59A4
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82