#752B98#752B98

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

Color values

HEX#752B98
RGBrgb(117, 43, 152)
HSLhsl(281, 56%, 38%)
HSVhsv(281, 72%, 60%)
CMYKcmyk(23%, 71.7%, 0%, 40.4%)
CIE-LABlab(33.51, 49.79, -45.45)
CIE-LCHlch(33.51, 67.42, 317.61°)
OKLaboklab(44.88% 0.118 -0.1283)
OKLCHoklch(44.88% 0.174 312.6)
XYZxyz(13.8665, 7.7771, 30.4703)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B98 #4E982B
analogous
#3E2B98 #752B98 #982B84
triadic
#752B98 #98752B #2B9875
tetradic
#752B98 #983E2B #4E982B #2B8498
square
#752B98 #983E2B #4E982B #2B8498
split-complementary
#752B98 #84982B #2B983E
monochromatic
#2C1039 #501E68 #752B98 #9939C7 #B269D5

Accessibility & contrast

On white

8.22
#752B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752B98
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B98#FFFFFF#000000##FFFFFF
##752B981.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752b98;
/* rgb */ color: rgb(117, 43, 152);
/* oklch */ color: oklch(44.9% 0.174 312.6);
Tailwind
colors: {
  custom: {
    50: '#a06bb7',
    500: '#752b98',
    950: '#000000',
  },
}
SCSS
$custom: #752b98;
$custom-light: #a06bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#752b98",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 280.734,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44882,
    "c": 0.17432,
    "h": 312.6
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#752B98
secondary
#80BB64
accent
#DF4979
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752B98

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

Preview Lab → · Contrast checker → · Palette generator →

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