#752D99#752D99

#752D99 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.173 H 312.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#752D99
RGBrgb(117, 45, 153)
HSLhsl(280, 55%, 39%)
HSVhsv(280, 71%, 60%)
CMYKcmyk(23.5%, 70.6%, 0%, 40%)
CIE-LABlab(33.90, 49.13, -45.44)
CIE-LCHlch(33.90, 66.92, 317.23°)
OKLaboklab(45.18% 0.1157 -0.1283)
OKLCHoklch(45.18% 0.173 312)
XYZxyz(14.0232, 7.9590, 30.9283)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D99 #51992D
analogous
#3F2D99 #752D99 #992D87
triadic
#752D99 #99752D #2D9975
tetradic
#752D99 #993F2D #51992D #2D8799
square
#752D99 #993F2D #51992D #2D8799
split-complementary
#752D99 #87992D #2D993F
monochromatic
#2D113A #511F6A #752D99 #983DC6 #B16CD4

Accessibility & contrast

On white

8.10
#752D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#752D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D99
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D99#FFFFFF#000000##FFFFFF
##752D991.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#215197
Tritanopia (blue-blind)
#714460
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752d99;
/* rgb */ color: rgb(117, 45, 153);
/* oklch */ color: oklch(45.2% 0.173 312.0);
Tailwind
colors: {
  custom: {
    50: '#a06cb8',
    500: '#752d99',
    950: '#000000',
  },
}
SCSS
$custom: #752d99;
$custom-light: #a06cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#752d99",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 280,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45178,
    "c": 0.17277,
    "h": 312
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#752D99
secondary
#83BB67
accent
#DE4A7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752D99

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

Preview Lab → · Contrast checker → · Palette generator →

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