#752C99#752C99

#752C99 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.174 H 312.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#752C99
RGBrgb(117, 44, 153)
HSLhsl(280, 55%, 39%)
HSVhsv(280, 71%, 60%)
CMYKcmyk(23.5%, 71.2%, 0%, 40%)
CIE-LABlab(33.74, 49.57, -45.70)
CIE-LCHlch(33.74, 67.42, 317.33°)
OKLaboklab(45.07% 0.1168 -0.129)
OKLCHoklch(45.07% 0.174 312.2)
XYZxyz(13.9855, 7.8836, 30.9158)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C99 #50992C
analogous
#3E2C99 #752C99 #992C86
triadic
#752C99 #99752C #2C9975
tetradic
#752C99 #993E2C #50992C #2C8699
square
#752C99 #993E2C #50992C #2C8699
split-complementary
#752C99 #86992C #2C993E
monochromatic
#2C113A #511E69 #752C99 #993BC7 #B26BD4

Accessibility & contrast

On white

8.15
#752C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#752C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C99
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C99#FFFFFF#000000##FFFFFF
##752C991.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#71435F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752c99;
/* rgb */ color: rgb(117, 44, 153);
/* oklch */ color: oklch(45.1% 0.174 312.2);
Tailwind
colors: {
  custom: {
    50: '#a06cb8',
    500: '#752c99',
    950: '#000000',
  },
}
SCSS
$custom: #752c99;
$custom-light: #a06cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#752c99",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 280.183,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45065,
    "c": 0.17406,
    "h": 312.2
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#752C99
secondary
#82BB66
accent
#DF497B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752C99

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

Preview Lab → · Contrast checker → · Palette generator →

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