#752C8C#752C8C

#752C8C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.161 H 317.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#752C8C
RGBrgb(117, 44, 140)
HSLhsl(286, 52%, 36%)
HSVhsv(286, 69%, 55%)
CMYKcmyk(16.4%, 68.6%, 0%, 45.1%)
CIE-LABlab(32.87, 46.77, -39.13)
CIE-LCHlch(32.87, 60.98, 320.08°)
OKLaboklab(44.17% 0.1179 -0.1098)
OKLCHoklch(44.17% 0.161 317)
XYZxyz(12.9697, 7.4772, 25.5659)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C8C #438C2C
analogous
#452C8C #752C8C #8C2C73
triadic
#752C8C #8C752C #2C8C75
tetradic
#752C8C #8C452C #438C2C #2C738C
square
#752C8C #8C452C #438C2C #2C738C
split-complementary
#752C8C #738C2C #2C8C45
monochromatic
#270F2F #4E1D5D #752C8C #9C3BBB #B564CE

Accessibility & contrast

On white

8.42
#752C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#752C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C8C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C8C#FFFFFF#000000##FFFFFF
##752C8C1.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00498F
Deuteranopia (green-blind)
#2E4F8A
Tritanopia (blue-blind)
#743E58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752c8c;
/* rgb */ color: rgb(117, 44, 140);
/* oklch */ color: oklch(44.2% 0.161 317.0);
Tailwind
colors: {
  custom: {
    50: '#a06bae',
    500: '#752c8c',
    950: '#000000',
  },
}
SCSS
$custom: #752c8c;
$custom-light: #a06bae;
$custom-dark: #000000;
JSON
{
  "hex": "#752c8c",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 285.625,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44165,
    "c": 0.16107,
    "h": 317
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#752C8C
secondary
#74B55F
accent
#DC4C6F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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