#752D8C#752D8C

#752D8C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.160 H 316.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#752D8C
RGBrgb(117, 45, 140)
HSLhsl(285, 51%, 36%)
HSVhsv(285, 68%, 55%)
CMYKcmyk(16.4%, 67.9%, 0%, 45.1%)
CIE-LABlab(33.03, 46.31, -38.87)
CIE-LCHlch(33.03, 60.46, 320.00°)
OKLaboklab(44.28% 0.1167 -0.109)
OKLCHoklch(44.28% 0.16 316.9)
XYZxyz(13.0074, 7.5526, 25.5785)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D8C #448C2D
analogous
#462D8C #752D8C #8C2D74
triadic
#752D8C #8C752D #2D8C75
tetradic
#752D8C #8C462D #448C2D #2D748C
square
#752D8C #8C462D #448C2D #2D748C
split-complementary
#752D8C #748C2D #2D8C46
monochromatic
#280F2F #4E1E5E #752D8C #9C3CBA #B566CE

Accessibility & contrast

On white

8.37
#752D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#752D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D8C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D8C#FFFFFF#000000##FFFFFF
##752D8C1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03498F
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#743F58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752d8c;
/* rgb */ color: rgb(117, 45, 140);
/* oklch */ color: oklch(44.3% 0.160 316.9);
Tailwind
colors: {
  custom: {
    50: '#a06cae',
    500: '#752d8c',
    950: '#000000',
  },
}
SCSS
$custom: #752d8c;
$custom-light: #a06cae;
$custom-dark: #000000;
JSON
{
  "hex": "#752d8c",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 140
  },
  "hsl": {
    "h": 285.474,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44282,
    "c": 0.15969,
    "h": 316.9
  },
  "luminance": 0.07552
}

Semantic roles & 50–950 ramp

primary
#752D8C
secondary
#75B460
accent
#DB4D6F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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