#752EB6#752EB6

#752EB6 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.201 H 303.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#752EB6
RGBrgb(117, 46, 182)
HSLhsl(271, 60%, 45%)
HSVhsv(271, 75%, 71%)
CMYKcmyk(35.7%, 74.7%, 0%, 28.6%)
CIE-LABlab(36.20, 55.34, -59.11)
CIE-LCHlch(36.20, 80.97, 313.12°)
OKLaboklab(47.49% 0.1099 -0.1685)
OKLCHoklch(47.49% 0.201 303.1)
XYZxyz(16.7546, 9.1133, 45.1233)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EB6 #6FB62E
analogous
#312EB6 #752EB6 #B62EB3
triadic
#752EB6 #B6752E #2EB675
tetradic
#752EB6 #B6312E #6FB62E #2EB3B6
square
#752EB6 #B6312E #6FB62E #2EB3B6
split-complementary
#752EB6 #B3B62E #2EB631
monochromatic
#361554 #562285 #752EB6 #944FD2 #B180DF

Accessibility & contrast

On white

7.44
#752EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#752EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EB6
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EB6#FFFFFF#000000##FFFFFF
##752EB61.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#685070
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752eb6;
/* rgb */ color: rgb(117, 46, 182);
/* oklch */ color: oklch(47.5% 0.201 303.1);
Tailwind
colors: {
  custom: {
    50: '#a36ecd',
    500: '#752eb6',
    950: '#000000',
  },
}
SCSS
$custom: #752eb6;
$custom-light: #a36ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#752eb6",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 271.324,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4749,
    "c": 0.20115,
    "h": 303.1
  },
  "luminance": 0.09113
}

Semantic roles & 50–950 ramp

primary
#752EB6
secondary
#9EC878
accent
#E34590
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752EB6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#752EB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva