#752F9A#752F9A
#752F9A is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.171 H 311.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #752F9A |
|---|---|
| RGB | rgb(117, 47, 154) |
| HSL | hsl(279, 53%, 39%) |
| HSV | hsv(279, 69%, 60%) |
| CMYK | cmyk(24%, 69.5%, 0%, 39.6%) |
| CIE-LAB | lab(34.29, 48.44, -45.42) |
| CIE-LCH | lch(34.29, 66.40, 316.85°) |
| OKLab | oklab(45.48% 0.1134 -0.1282) |
| OKLCH | oklch(45.48% 0.171 311.5) |
| XYZ | xyz(14.1843, 8.1484, 31.3912) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.82
Rebeccapurple
#663399
ΔE00 3.09
Darkmagenta
#8B008B
ΔE00 6.83
Purple
#800080
ΔE00 7.37
Warm Purple
#952E8F
ΔE00 7.85
Darkish Purple
#751973
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752F9A #549A2F
analogous
#3F2F9A #752F9A #9A2F8A
triadic
#752F9A #9A752F #2F9A75
tetradic
#752F9A #9A3F2F #549A2F #2F8A9A
square
#752F9A #9A3F2F #549A2F #2F8A9A
split-complementary
#752F9A #8A9A2F #2F9A3F
monochromatic
#2E123C #51216B #752F9A #9741C5 #B170D3
Accessibility & contrast
On white
7.99
#752F9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#752F9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752F9A
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752F9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752F9A | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#225298
Tritanopia (blue-blind)
#704561
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #752f9a; /* rgb */ color: rgb(117, 47, 154); /* oklch */ color: oklch(45.5% 0.171 311.5);
Tailwind
colors: {
custom: {
50: '#a06db8',
500: '#752f9a',
950: '#000000',
},
}SCSS
$custom: #752f9a; $custom-light: #a06db8; $custom-dark: #000000;
JSON
{
"hex": "#752f9a",
"rgb": {
"r": 117,
"g": 47,
"b": 154
},
"hsl": {
"h": 279.252,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.45481,
"c": 0.17117,
"h": 311.5
},
"luminance": 0.08148
}Semantic roles & 50–950 ramp
primary
#752F9A
secondary
#86BB6A
accent
#DD4B7D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80