#752C97#752C97

#752C97 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.172 H 312.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#752C97
RGBrgb(117, 44, 151)
HSLhsl(281, 55%, 38%)
HSVhsv(281, 71%, 59%)
CMYKcmyk(22.5%, 70.9%, 0%, 40.8%)
CIE-LABlab(33.60, 49.14, -44.70)
CIE-LCHlch(33.60, 66.43, 317.71°)
OKLaboklab(44.92% 0.117 -0.1261)
OKLCHoklch(44.92% 0.172 312.9)
XYZxyz(13.8217, 7.8180, 30.0531)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C97 #4E972C
analogous
#402C97 #752C97 #972C83
triadic
#752C97 #97752C #2C9775
tetradic
#752C97 #97402C #4E972C #2C8397
square
#752C97 #97402C #4E972C #2C8397
split-complementary
#752C97 #83972C #2C9740
monochromatic
#2C1038 #501E68 #752C97 #993AC6 #B26AD4

Accessibility & contrast

On white

8.19
#752C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752C97
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C97#FFFFFF#000000##FFFFFF
##752C971.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#71425E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752c97;
/* rgb */ color: rgb(117, 44, 151);
/* oklch */ color: oklch(44.9% 0.172 312.9);
Tailwind
colors: {
  custom: {
    50: '#a06cb6',
    500: '#752c97',
    950: '#000000',
  },
}
SCSS
$custom: #752c97;
$custom-light: #a06cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#752c97",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 280.935,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44922,
    "c": 0.17204,
    "h": 312.9
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#752C97
secondary
#80BA65
accent
#DE4A79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752C97

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

Preview Lab → · Contrast checker → · Palette generator →

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