#752AB0#752AB0
#752AB0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.199 H 305.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #752AB0 |
|---|---|
| RGB | rgb(117, 42, 176) |
| HSL | hsl(274, 61%, 43%) |
| HSV | hsv(274, 76%, 69%) |
| CMYK | cmyk(33.5%, 76.1%, 0%, 31%) |
| CIE-LAB | lab(35.15, 55.61, -57.26) |
| CIE-LCH | lch(35.15, 79.82, 314.16°) |
| OKLab | oklab(46.6% 0.1149 -0.163) |
| OKLCH | oklch(46.6% 0.199 305.2) |
| XYZ | xyz(15.9988, 8.5725, 41.8777) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.29
Purple (survey)
#7E1E9C
ΔE00 4.36
Purple Blue
#5D21D0
ΔE00 6.17
Darkviolet
#9400D3
ΔE00 6.30
Bluey Purple
#6241C7
ΔE00 6.98
Blurple
#5539CC
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752AB0 #65B02A
analogous
#322AB0 #752AB0 #B02AA8
triadic
#752AB0 #B0752A #2AB075
tetradic
#752AB0 #B0322A #65B02A #2AA8B0
square
#752AB0 #B0322A #65B02A #2AA8B0
split-complementary
#752AB0 #A8B02A #2AB032
monochromatic
#33124D #541E7F #752AB0 #9445D3 #B076DE
Accessibility & contrast
On white
7.74
#752AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#752AB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752AB0
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752AB0 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#6A4C6C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #752ab0; /* rgb */ color: rgb(117, 42, 176); /* oklch */ color: oklch(46.6% 0.199 305.2);
Tailwind
colors: {
custom: {
50: '#a26cc8',
500: '#752ab0',
950: '#000000',
},
}SCSS
$custom: #752ab0; $custom-light: #a26cc8; $custom-dark: #000000;
JSON
{
"hex": "#752ab0",
"rgb": {
"r": 117,
"g": 42,
"b": 176
},
"hsl": {
"h": 273.582,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.466,
"c": 0.19941,
"h": 305.2
},
"luminance": 0.08572
}Semantic roles & 50–950 ramp
primary
#752AB0
secondary
#96C670
accent
#E5438A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82