#752B9E#752B9E
#752B9E is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.180 H 310.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #752B9E |
|---|---|
| RGB | rgb(117, 43, 158) |
| HSL | hsl(279, 57%, 39%) |
| HSV | hsv(279, 73%, 62%) |
| CMYK | cmyk(25.9%, 72.8%, 0%, 38%) |
| CIE-LAB | lab(33.94, 51.12, -48.41) |
| CIE-LCH | lch(33.94, 70.40, 316.56°) |
| OKLab | oklab(45.32% 0.1172 -0.137) |
| OKLCH | oklch(45.32% 0.18 310.5) |
| XYZ | xyz(14.3704, 7.9786, 33.1241) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.42
Rebeccapurple
#663399
ΔE00 3.18
Darkmagenta
#8B008B
ΔE00 6.89
Purple
#800080
ΔE00 7.47
Darkviolet
#9400D3
ΔE00 8.28
Warm Purple
#952E8F
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752B9E #549E2B
analogous
#3C2B9E #752B9E #9E2B8E
triadic
#752B9E #9E752B #2B9E75
tetradic
#752B9E #9E3C2B #549E2B #2B8E9E
square
#752B9E #9E3C2B #549E2B #2B8E9E
split-complementary
#752B9E #8E9E2B #2B9E3C
monochromatic
#2E113E #511E6E #752B9E #973CCA #B16CD7
Accessibility & contrast
On white
8.09
#752B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#752B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752B9E
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752B9E | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#16519C
Tritanopia (blue-blind)
#6F4562
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #752b9e; /* rgb */ color: rgb(117, 43, 158); /* oklch */ color: oklch(45.3% 0.180 310.5);
Tailwind
colors: {
custom: {
50: '#a16bbb',
500: '#752b9e',
950: '#000000',
},
}SCSS
$custom: #752b9e; $custom-light: #a16bbb; $custom-dark: #000000;
JSON
{
"hex": "#752b9e",
"rgb": {
"r": 117,
"g": 43,
"b": 158
},
"hsl": {
"h": 278.609,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.45319,
"c": 0.18031,
"h": 310.5
},
"luminance": 0.07978
}Semantic roles & 50–950 ramp
primary
#752B9E
secondary
#86BE67
accent
#E0477E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81