#752F9C#752F9C
#752F9C is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.173 H 310.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #752F9C |
|---|---|
| RGB | rgb(117, 47, 156) |
| HSL | hsl(279, 54%, 40%) |
| HSV | hsv(279, 70%, 61%) |
| CMYK | cmyk(25%, 69.9%, 0%, 38.8%) |
| CIE-LAB | lab(34.43, 48.89, -46.41) |
| CIE-LCH | lch(34.43, 67.41, 316.49°) |
| OKLab | oklab(45.62% 0.1132 -0.1311) |
| OKLCH | oklch(45.62% 0.173 310.8) |
| XYZ | xyz(14.3522, 8.2156, 32.2757) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.86
Rebeccapurple
#663399
ΔE00 3.00
Darkmagenta
#8B008B
ΔE00 7.03
Purple
#800080
ΔE00 7.62
Warm Purple
#952E8F
ΔE00 8.05
Purply
#983FB2
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752F9C #569C2F
analogous
#3E2F9C #752F9C #9C2F8D
triadic
#752F9C #9C752F #2F9C75
tetradic
#752F9C #9C3E2F #569C2F #2F8D9C
square
#752F9C #9C3E2F #569C2F #2F8D9C
split-complementary
#752F9C #8D9C2F #2F9C3E
monochromatic
#2E133E #52216D #752F9C #9742C6 #B171D4
Accessibility & contrast
On white
7.95
#752F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#752F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752F9C
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752F9C | 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)
#004E9F
Deuteranopia (green-blind)
#1F529A
Tritanopia (blue-blind)
#704662
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #752f9c; /* rgb */ color: rgb(117, 47, 156); /* oklch */ color: oklch(45.6% 0.173 310.8);
Tailwind
colors: {
custom: {
50: '#a06dba',
500: '#752f9c',
950: '#000000',
},
}SCSS
$custom: #752f9c; $custom-light: #a06dba; $custom-dark: #000000;
JSON
{
"hex": "#752f9c",
"rgb": {
"r": 117,
"g": 47,
"b": 156
},
"hsl": {
"h": 278.532,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.45623,
"c": 0.17323,
"h": 310.8
},
"luminance": 0.08215
}Semantic roles & 50–950 ramp
primary
#752F9C
secondary
#88BC6B
accent
#DD4B7F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81