#752AA3#752AA3
#752AA3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.186 H 309.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #752AA3 |
|---|---|
| RGB | rgb(117, 42, 163) |
| HSL | hsl(277, 59%, 40%) |
| HSV | hsv(277, 74%, 64%) |
| CMYK | cmyk(28.2%, 74.2%, 0%, 36.1%) |
| CIE-LAB | lab(34.15, 52.65, -51.08) |
| CIE-LCH | lch(34.15, 73.36, 315.87°) |
| OKLab | oklab(45.59% 0.1174 -0.1448) |
| OKLCH | oklch(45.59% 0.186 309) |
| XYZ | xyz(14.7736, 8.0825, 35.4250) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.75
Rebeccapurple
#663399
ΔE00 3.31
Darkmagenta
#8B008B
ΔE00 7.40
Darkviolet
#9400D3
ΔE00 7.64
Purple Blue
#5D21D0
ΔE00 7.96
Purple
#800080
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752AA3 #58A32A
analogous
#392AA3 #752AA3 #A32A94
triadic
#752AA3 #A3752A #2AA375
tetradic
#752AA3 #A3392A #58A32A #2A94A3
square
#752AA3 #A3392A #58A32A #2A94A3
split-complementary
#752AA3 #94A32A #2AA339
monochromatic
#2F1142 #521D72 #752AA3 #963DCD #B16EDA
Accessibility & contrast
On white
8.03
#752AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#752AA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752AA3
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752AA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752AA3 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0651A0
Tritanopia (blue-blind)
#6E4664
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #752aa3; /* rgb */ color: rgb(117, 42, 163); /* oklch */ color: oklch(45.6% 0.186 309.0);
Tailwind
colors: {
custom: {
50: '#a16bbf',
500: '#752aa3',
950: '#000000',
},
}SCSS
$custom: #752aa3; $custom-light: #a16bbf; $custom-dark: #000000;
JSON
{
"hex": "#752aa3",
"rgb": {
"r": 117,
"g": 42,
"b": 163
},
"hsl": {
"h": 277.19,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.45587,
"c": 0.18647,
"h": 309
},
"luminance": 0.08082
}Semantic roles & 50–950 ramp
primary
#752AA3
secondary
#8AC068
accent
#E24681
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81