#752CA0#752CA0
#752CA0 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.181 H 309.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #752CA0 |
|---|---|
| RGB | rgb(117, 44, 160) |
| HSL | hsl(278, 57%, 40%) |
| HSV | hsv(278, 73%, 63%) |
| CMYK | cmyk(26.9%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(34.23, 51.13, -49.14) |
| CIE-LCH | lch(34.23, 70.92, 316.14°) |
| OKLab | oklab(45.58% 0.1159 -0.1392) |
| OKLCH | oklch(45.58% 0.181 309.8) |
| XYZ | xyz(14.5807, 8.1216, 34.0504) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.67
Rebeccapurple
#663399
ΔE00 3.11
Darkmagenta
#8B008B
ΔE00 7.20
Purple
#800080
ΔE00 7.83
Darkviolet
#9400D3
ΔE00 8.05
Purply
#983FB2
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752CA0 #57A02C
analogous
#3B2CA0 #752CA0 #A02C91
triadic
#752CA0 #A0752C #2CA075
tetradic
#752CA0 #A03B2C #57A02C #2C91A0
square
#752CA0 #A03B2C #57A02C #2C91A0
split-complementary
#752CA0 #91A02C #2CA03B
monochromatic
#2F1240 #521F70 #752CA0 #973FCA #B16FD7
Accessibility & contrast
On white
8.00
#752CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#752CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752CA0
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752CA0 | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#14529E
Tritanopia (blue-blind)
#6F4663
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #752ca0; /* rgb */ color: rgb(117, 44, 160); /* oklch */ color: oklch(45.6% 0.181 309.8);
Tailwind
colors: {
custom: {
50: '#a16cbd',
500: '#752ca0',
950: '#000000',
},
}SCSS
$custom: #752ca0; $custom-light: #a16cbd; $custom-dark: #000000;
JSON
{
"hex": "#752ca0",
"rgb": {
"r": 117,
"g": 44,
"b": 160
},
"hsl": {
"h": 277.759,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.45575,
"c": 0.1811,
"h": 309.8
},
"luminance": 0.08121
}Semantic roles & 50–950 ramp
primary
#752CA0
secondary
#89BF69
accent
#E04880
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81