#752DB6#752DB6

#752DB6 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.202 H 303.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#752DB6
RGBrgb(117, 45, 182)
HSLhsl(272, 60%, 45%)
HSVhsv(272, 75%, 71%)
CMYKcmyk(35.7%, 75.3%, 0%, 28.6%)
CIE-LABlab(36.05, 55.77, -59.35)
CIE-LCHlch(36.05, 81.44, 313.22°)
OKLaboklab(47.39% 0.1108 -0.1692)
OKLCHoklch(47.39% 0.202 303.2)
XYZxyz(16.7160, 9.0361, 45.1104)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DB6 #6EB62D
analogous
#312DB6 #752DB6 #B62DB2
triadic
#752DB6 #B6752D #2DB675
tetradic
#752DB6 #B6312D #6EB62D #2DB2B6
square
#752DB6 #B6312D #6EB62D #2DB2B6
split-complementary
#752DB6 #B2B62D #2DB631
monochromatic
#361554 #552185 #752DB6 #944DD3 #B17EDF

Accessibility & contrast

On white

7.48
#752DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#752DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DB6
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DB6#FFFFFF#000000##FFFFFF
##752DB61.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752db6;
/* rgb */ color: rgb(117, 45, 182);
/* oklch */ color: oklch(47.4% 0.202 303.2);
Tailwind
colors: {
  custom: {
    50: '#a36dcd',
    500: '#752db6',
    950: '#000000',
  },
}
SCSS
$custom: #752db6;
$custom-light: #a36dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#752db6",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 271.533,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47385,
    "c": 0.20223,
    "h": 303.2
  },
  "luminance": 0.09036
}

Semantic roles & 50–950 ramp

primary
#752DB6
secondary
#9DC877
accent
#E34490
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #752DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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