#752C8B#752C8B

#752C8B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.160 H 317.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#752C8B
RGBrgb(117, 44, 139)
HSLhsl(286, 52%, 36%)
HSVhsv(286, 68%, 55%)
CMYKcmyk(15.8%, 68.3%, 0%, 45.5%)
CIE-LABlab(32.81, 46.56, -38.61)
CIE-LCHlch(32.81, 60.49, 320.33°)
OKLaboklab(44.1% 0.1179 -0.1083)
OKLCHoklch(44.1% 0.16 317.4)
XYZxyz(12.8963, 7.4479, 25.1794)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C8B #428B2C
analogous
#452C8B #752C8B #8B2C71
triadic
#752C8B #8B752C #2C8B75
tetradic
#752C8B #8B452C #428B2C #2C718B
square
#752C8B #8B452C #428B2C #2C718B
split-complementary
#752C8B #718B2C #2C8B45
monochromatic
#270F2E #4E1D5D #752C8B #9C3BB9 #B564CE

Accessibility & contrast

On white

8.44
#752C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#752C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C8B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C8B#FFFFFF#000000##FFFFFF
##752C8B1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02498E
Deuteranopia (green-blind)
#2F4F89
Tritanopia (blue-blind)
#743E58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752c8b;
/* rgb */ color: rgb(117, 44, 139);
/* oklch */ color: oklch(44.1% 0.160 317.4);
Tailwind
colors: {
  custom: {
    50: '#a06bad',
    500: '#752c8b',
    950: '#000000',
  },
}
SCSS
$custom: #752c8b;
$custom-light: #a06bad;
$custom-dark: #000000;
JSON
{
  "hex": "#752c8b",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 286.105,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44098,
    "c": 0.16009,
    "h": 317.4
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#752C8B
secondary
#72B45F
accent
#DB4C6E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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