#752FAC#752FAC
#752FAC is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.190 H 305.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #752FAC |
|---|---|
| RGB | rgb(117, 47, 172) |
| HSL | hsl(274, 57%, 43%) |
| HSV | hsv(274, 73%, 67%) |
| CMYK | cmyk(32%, 72.7%, 0%, 32.5%) |
| CIE-LAB | lab(35.58, 52.56, -54.17) |
| CIE-LCH | lch(35.58, 75.48, 314.14°) |
| OKLab | oklab(46.81% 0.1109 -0.1539) |
| OKLCH | oklch(46.81% 0.19 305.8) |
| XYZ | xyz(15.7974, 8.7936, 39.8868) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.70
Purple (survey)
#7E1E9C
ΔE00 4.25
Darkviolet
#9400D3
ΔE00 6.82
Purple Blue
#5D21D0
ΔE00 6.92
Bluey Purple
#6241C7
ΔE00 6.94
Darkorchid
#9932CC
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752FAC #66AC2F
analogous
#362FAC #752FAC #AC2FA4
triadic
#752FAC #AC752F #2FAC75
tetradic
#752FAC #AC362F #66AC2F #2FA4AC
square
#752FAC #AC362F #66AC2F #2FA4AC
split-complementary
#752FAC #A4AC2F #2FAC36
monochromatic
#34154C #54227C #752FAC #944BCE #B07BDB
Accessibility & contrast
On white
7.61
#752FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#752FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752FAC
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752FAC | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#6B4D6B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #752fac; /* rgb */ color: rgb(117, 47, 172); /* oklch */ color: oklch(46.8% 0.190 305.8);
Tailwind
colors: {
custom: {
50: '#a26ec6',
500: '#752fac',
950: '#000000',
},
}SCSS
$custom: #752fac; $custom-light: #a26ec6; $custom-dark: #000000;
JSON
{
"hex": "#752fac",
"rgb": {
"r": 117,
"g": 47,
"b": 172
},
"hsl": {
"h": 273.6,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.46812,
"c": 0.18974,
"h": 305.8
},
"luminance": 0.08793
}Semantic roles & 50–950 ramp
primary
#752FAC
secondary
#97C374
accent
#E0478B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82