#752B99#752B99

#752B99 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.175 H 312.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#752B99
RGBrgb(117, 43, 153)
HSLhsl(280, 56%, 38%)
HSVhsv(280, 72%, 60%)
CMYKcmyk(23.5%, 71.9%, 0%, 40%)
CIE-LABlab(33.58, 50.01, -45.95)
CIE-LCHlch(33.58, 67.91, 317.43°)
OKLaboklab(44.95% 0.1179 -0.1298)
OKLCHoklch(44.95% 0.175 312.3)
XYZxyz(13.9487, 7.8100, 30.9035)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B99 #4F992B
analogous
#3E2B99 #752B99 #992B86
triadic
#752B99 #99752B #2B9975
tetradic
#752B99 #993E2B #4F992B #2B8699
square
#752B99 #993E2B #4F992B #2B8699
split-complementary
#752B99 #86992B #2B993E
monochromatic
#2C1039 #501E69 #752B99 #993AC8 #B269D5

Accessibility & contrast

On white

8.20
#752B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#752B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B99
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B99#FFFFFF#000000##FFFFFF
##752B991.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#1F5097
Tritanopia (blue-blind)
#71435F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752b99;
/* rgb */ color: rgb(117, 43, 153);
/* oklch */ color: oklch(45.0% 0.175 312.3);
Tailwind
colors: {
  custom: {
    50: '#a16bb8',
    500: '#752b99',
    950: '#000000',
  },
}
SCSS
$custom: #752b99;
$custom-light: #a16bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#752b99",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 280.364,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.17532,
    "h": 312.3
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

primary
#752B99
secondary
#81BC64
accent
#DF487A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752B99

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

Preview Lab → · Contrast checker → · Palette generator →

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