#752C8D#752C8D

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

Color values

HEX#752C8D
RGBrgb(117, 44, 141)
HSLhsl(285, 52%, 36%)
HSVhsv(285, 69%, 55%)
CMYKcmyk(17%, 68.8%, 0%, 44.7%)
CIE-LABlab(32.93, 46.98, -39.64)
CIE-LCHlch(32.93, 61.47, 319.84°)
OKLaboklab(44.23% 0.1178 -0.1113)
OKLCHoklch(44.23% 0.162 316.6)
XYZxyz(13.0438, 7.5069, 25.9560)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C8D #448D2C
analogous
#452C8D #752C8D #8D2C75
triadic
#752C8D #8D752C #2C8D75
tetradic
#752C8D #8D452C #448D2C #2C758D
square
#752C8D #8D452C #448D2C #2C758D
split-complementary
#752C8D #758D2C #2C8D45
monochromatic
#280F30 #4E1D5E #752C8D #9C3BBC #B565CF

Accessibility & contrast

On white

8.40
#752C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752C8D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C8D#FFFFFF#000000##FFFFFF
##752C8D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#2D508B
Tritanopia (blue-blind)
#743E59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752c8d;
/* rgb */ color: rgb(117, 44, 141);
/* oklch */ color: oklch(44.2% 0.162 316.6);
Tailwind
colors: {
  custom: {
    50: '#a06baf',
    500: '#752c8d',
    950: '#000000',
  },
}
SCSS
$custom: #752c8d;
$custom-light: #a06baf;
$custom-dark: #000000;
JSON
{
  "hex": "#752c8d",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 285.155,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44232,
    "c": 0.16206,
    "h": 316.6
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#752C8D
secondary
#75B560
accent
#DC4C70
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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