#7450B2#7450B2
#7450B2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.7% C 0.150 H 297.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7450B2 |
|---|---|
| RGB | rgb(116, 80, 178) |
| HSL | hsl(262, 39%, 51%) |
| HSV | hsv(262, 55%, 70%) |
| CMYK | cmyk(34.8%, 55.1%, 0%, 30.2%) |
| CIE-LAB | lab(42.25, 36.60, -46.98) |
| CIE-LCH | lch(42.25, 59.55, 307.92°) |
| OKLab | oklab(51.75% 0.0704 -0.133) |
| OKLCH | oklch(51.75% 0.15 297.9) |
| XYZ | xyz(18.1050, 12.6645, 43.6015) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.16
Iris
#6258C4
ΔE00 5.83
Light Indigo
#6D5ACF
ΔE00 6.00
Slate Blue
#6A5ACD
ΔE00 6.03
Bluey Purple
#6241C7
ΔE00 6.33
Deep Lavender
#8D5EB7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7450B2 #8EB250
analogous
#505DB2 #7450B2 #A550B2
triadic
#7450B2 #B27450 #50B274
tetradic
#7450B2 #B2505D #8EB250 #50B2A5
square
#7450B2 #B2505D #8EB250 #50B2A5
split-complementary
#7450B2 #B2A550 #5DB250
monochromatic
#3D295E #583C89 #7450B2 #967AC5 #B8A5D7
Accessibility & contrast
On white
5.94
#7450B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#7450B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7450B2
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7450B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7450B2 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#666479
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7450b2; /* rgb */ color: rgb(116, 80, 178); /* oklch */ color: oklch(51.7% 0.150 297.9);
Tailwind
colors: {
custom: {
50: '#9f82c9',
500: '#7450b2',
950: '#000000',
},
}SCSS
$custom: #7450b2; $custom-light: #9f82c9; $custom-dark: #000000;
JSON
{
"hex": "#7450b2",
"rgb": {
"r": 116,
"g": 80,
"b": 178
},
"hsl": {
"h": 262.041,
"s": 38.889,
"l": 50.588
},
"oklch": {
"l": 0.51748,
"c": 0.15044,
"h": 297.9
},
"luminance": 0.12665
}Semantic roles & 50–950 ramp
primary
#7450B2
secondary
#B5C599
accent
#CF59A4
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82