#752FB6#752FB6
#752FB6 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.200 H 303.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #752FB6 |
|---|---|
| RGB | rgb(117, 47, 182) |
| HSL | hsl(271, 59%, 45%) |
| HSV | hsv(271, 74%, 71%) |
| CMYK | cmyk(35.7%, 74.2%, 0%, 28.6%) |
| CIE-LAB | lab(36.35, 54.92, -58.86) |
| CIE-LCH | lch(36.35, 80.50, 313.01°) |
| OKLab | oklab(47.6% 0.109 -0.1677) |
| OKLCH | oklch(47.6% 0.2 303) |
| XYZ | xyz(16.7941, 9.1923, 45.1364) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.84
Purple (survey)
#7E1E9C
ΔE00 5.50
Purple Blue
#5D21D0
ΔE00 5.74
Bluey Purple
#6241C7
ΔE00 5.83
Darkviolet
#9400D3
ΔE00 5.99
Blurple
#5539CC
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752FB6 #70B62F
analogous
#312FB6 #752FB6 #B62FB4
triadic
#752FB6 #B6752F #2FB675
tetradic
#752FB6 #B6312F #70B62F #2FB4B6
square
#752FB6 #B6312F #70B62F #2FB4B6
split-complementary
#752FB6 #B4B62F #2FB631
monochromatic
#361655 #562285 #752FB6 #9350D2 #B181DE
Accessibility & contrast
On white
7.40
#752FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#752FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752FB6
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752FB6 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#685170
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #752fb6; /* rgb */ color: rgb(117, 47, 182); /* oklch */ color: oklch(47.6% 0.200 303.0);
Tailwind
colors: {
custom: {
50: '#a26ecd',
500: '#752fb6',
950: '#000000',
},
}SCSS
$custom: #752fb6; $custom-light: #a26ecd; $custom-dark: #000000;
JSON
{
"hex": "#752fb6",
"rgb": {
"r": 117,
"g": 47,
"b": 182
},
"hsl": {
"h": 271.111,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.47596,
"c": 0.20004,
"h": 303
},
"luminance": 0.09192
}Semantic roles & 50–950 ramp
primary
#752FB6
secondary
#9FC779
accent
#E24691
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82