#752D96#752D96

#752D96 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.170 H 313.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#752D96
RGBrgb(117, 45, 150)
HSLhsl(281, 54%, 38%)
HSVhsv(281, 70%, 59%)
CMYKcmyk(22%, 70%, 0%, 41.2%)
CIE-LABlab(33.69, 48.47, -43.94)
CIE-LCHlch(33.69, 65.42, 317.80°)
OKLaboklab(44.97% 0.116 -0.1239)
OKLCHoklch(44.97% 0.17 313.1)
XYZxyz(13.7786, 7.8611, 29.6398)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D96 #4E962D
analogous
#402D96 #752D96 #962D82
triadic
#752D96 #96752D #2D9675
tetradic
#752D96 #96402D #4E962D #2D8296
square
#752D96 #96402D #4E962D #2D8296
split-complementary
#752D96 #82962D #2D9640
monochromatic
#2C1138 #501F67 #752D96 #993CC4 #B26BD3

Accessibility & contrast

On white

8.16
#752D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#752D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D96
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D96#FFFFFF#000000##FFFFFF
##752D961.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#255194
Tritanopia (blue-blind)
#72435E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752d96;
/* rgb */ color: rgb(117, 45, 150);
/* oklch */ color: oklch(45.0% 0.170 313.1);
Tailwind
colors: {
  custom: {
    50: '#a06cb5',
    500: '#752d96',
    950: '#000000',
  },
}
SCSS
$custom: #752d96;
$custom-light: #a06cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#752d96",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 281.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44966,
    "c": 0.16973,
    "h": 313.1
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#752D96
secondary
#80B965
accent
#DD4B79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752D96

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

Preview Lab → · Contrast checker → · Palette generator →

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