#752E9E#752E9E
#752E9E is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.177 H 310.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #752E9E |
|---|---|
| RGB | rgb(117, 46, 158) |
| HSL | hsl(278, 55%, 40%) |
| HSV | hsv(278, 71%, 62%) |
| CMYK | cmyk(25.9%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(34.41, 49.80, -47.66) |
| CIE-LCH | lch(34.41, 68.93, 316.26°) |
| OKLab | oklab(45.65% 0.114 -0.1348) |
| OKLCH | oklch(45.65% 0.177 310.2) |
| XYZ | xyz(14.4835, 8.2048, 33.1618) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.80
Rebeccapurple
#663399
ΔE00 3.00
Darkmagenta
#8B008B
ΔE00 7.15
Purple
#800080
ΔE00 7.77
Purply
#983FB2
ΔE00 8.23
Warm Purple
#952E8F
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752E9E #579E2E
analogous
#3D2E9E #752E9E #9E2E8F
triadic
#752E9E #9E752E #2E9E75
tetradic
#752E9E #9E3D2E #579E2E #2E8F9E
square
#752E9E #9E3D2E #579E2E #2E8F9E
split-complementary
#752E9E #8F9E2E #2E9E3D
monochromatic
#2F123F #52206F #752E9E #9741C8 #B171D6
Accessibility & contrast
On white
7.95
#752E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#752E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752E9E
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752E9E | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#1B529C
Tritanopia (blue-blind)
#6F4663
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #752e9e; /* rgb */ color: rgb(117, 46, 158); /* oklch */ color: oklch(45.7% 0.177 310.2);
Tailwind
colors: {
custom: {
50: '#a16dbb',
500: '#752e9e',
950: '#000000',
},
}SCSS
$custom: #752e9e; $custom-light: #a16dbb; $custom-dark: #000000;
JSON
{
"hex": "#752e9e",
"rgb": {
"r": 117,
"g": 46,
"b": 158
},
"hsl": {
"h": 278.036,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.45652,
"c": 0.17658,
"h": 310.2
},
"luminance": 0.08205
}Semantic roles & 50–950 ramp
primary
#752E9E
secondary
#89BD6B
accent
#DE4A80
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81