#752F99#752F99
#752F99 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.170 H 311.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #752F99 |
|---|---|
| RGB | rgb(117, 47, 153) |
| HSL | hsl(280, 53%, 39%) |
| HSV | hsv(280, 69%, 60%) |
| CMYK | cmyk(23.5%, 69.3%, 0%, 40%) |
| CIE-LAB | lab(34.22, 48.22, -44.92) |
| CIE-LCH | lch(34.22, 65.90, 317.03°) |
| OKLab | oklab(45.41% 0.1135 -0.1268) |
| OKLCH | oklch(45.41% 0.17 311.8) |
| XYZ | xyz(14.1013, 8.1152, 30.9544) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.82
Rebeccapurple
#663399
ΔE00 3.15
Darkmagenta
#8B008B
ΔE00 6.73
Purple
#800080
ΔE00 7.25
Warm Purple
#952E8F
ΔE00 7.75
Darkish Purple
#751973
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752F99 #53992F
analogous
#402F99 #752F99 #992F88
triadic
#752F99 #99752F #2F9975
tetradic
#752F99 #99402F #53992F #2F8899
square
#752F99 #99402F #53992F #2F8899
split-complementary
#752F99 #88992F #2F9940
monochromatic
#2D123B #51216A #752F99 #9841C5 #B16FD3
Accessibility & contrast
On white
8.01
#752F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#752F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752F99
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752F99 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#714560
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #752f99; /* rgb */ color: rgb(117, 47, 153); /* oklch */ color: oklch(45.4% 0.170 311.8);
Tailwind
colors: {
custom: {
50: '#a06db8',
500: '#752f99',
950: '#000000',
},
}SCSS
$custom: #752f99; $custom-light: #a06db8; $custom-dark: #000000;
JSON
{
"hex": "#752f99",
"rgb": {
"r": 117,
"g": 47,
"b": 153
},
"hsl": {
"h": 279.623,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.4541,
"c": 0.17015,
"h": 311.8
},
"luminance": 0.08115
}Semantic roles & 50–950 ramp
primary
#752F99
secondary
#85BA69
accent
#DC4B7D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80