#752C98#752C98

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

Color values

HEX#752C98
RGBrgb(117, 44, 152)
HSLhsl(281, 55%, 38%)
HSVhsv(281, 71%, 60%)
CMYKcmyk(23%, 71.1%, 0%, 40.4%)
CIE-LABlab(33.67, 49.35, -45.20)
CIE-LCHlch(33.67, 66.92, 317.52°)
OKLaboklab(44.99% 0.1169 -0.1276)
OKLCHoklch(44.99% 0.173 312.5)
XYZxyz(13.9033, 7.8507, 30.4826)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C98 #4F982C
analogous
#3F2C98 #752C98 #982C85
triadic
#752C98 #98752C #2C9875
tetradic
#752C98 #983F2C #4F982C #2C8598
square
#752C98 #983F2C #4F982C #2C8598
split-complementary
#752C98 #85982C #2C983F
monochromatic
#2C1139 #501E69 #752C98 #993BC6 #B26AD4

Accessibility & contrast

On white

8.17
#752C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752C98
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C98#FFFFFF#000000##FFFFFF
##752C981.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752c98;
/* rgb */ color: rgb(117, 44, 152);
/* oklch */ color: oklch(45.0% 0.173 312.5);
Tailwind
colors: {
  custom: {
    50: '#a06cb7',
    500: '#752c98',
    950: '#000000',
  },
}
SCSS
$custom: #752c98;
$custom-light: #a06cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#752c98",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 280.556,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44994,
    "c": 0.17305,
    "h": 312.5
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#752C98
secondary
#81BB65
accent
#DE497A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752C98

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

Preview Lab → · Contrast checker → · Palette generator →

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