#752FAF#752FAF
#752FAF is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.193 H 304.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #752FAF |
|---|---|
| RGB | rgb(117, 47, 175) |
| HSL | hsl(273, 58%, 44%) |
| HSV | hsv(273, 73%, 69%) |
| CMYK | cmyk(33.1%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(35.81, 53.26, -55.59) |
| CIE-LCH | lch(35.81, 76.99, 313.78°) |
| OKLab | oklab(47.04% 0.1104 -0.1581) |
| OKLCH | oklch(47.04% 0.193 304.9) |
| XYZ | xyz(16.0888, 8.9102, 41.4214) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.01
Purple (survey)
#7E1E9C
ΔE00 4.61
Purple Blue
#5D21D0
ΔE00 6.54
Darkviolet
#9400D3
ΔE00 6.54
Bluey Purple
#6241C7
ΔE00 6.58
Blurple
#5539CC
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752FAF #69AF2F
analogous
#352FAF #752FAF #AF2FA9
triadic
#752FAF #AF752F #2FAF75
tetradic
#752FAF #AF352F #69AF2F #2FA9AF
square
#752FAF #AF352F #69AF2F #2FA9AF
split-complementary
#752FAF #A9AF2F #2FAF35
monochromatic
#34154F #55227F #752FAF #944CCF #B17CDC
Accessibility & contrast
On white
7.55
#752FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#752FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752FAF
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752FAF | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#6A4E6C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #752faf; /* rgb */ color: rgb(117, 47, 175); /* oklch */ color: oklch(47.0% 0.193 304.9);
Tailwind
colors: {
custom: {
50: '#a26ec8',
500: '#752faf',
950: '#000000',
},
}SCSS
$custom: #752faf; $custom-light: #a26ec8; $custom-dark: #000000;
JSON
{
"hex": "#752faf",
"rgb": {
"r": 117,
"g": 47,
"b": 175
},
"hsl": {
"h": 272.813,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.47044,
"c": 0.19282,
"h": 304.9
},
"luminance": 0.0891
}Semantic roles & 50–950 ramp
primary
#752FAF
secondary
#99C475
accent
#E1478D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82