#752A98#752A98

#752A98 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.176 H 312.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#752A98
RGBrgb(117, 42, 152)
HSLhsl(281, 57%, 38%)
HSVhsv(281, 72%, 60%)
CMYKcmyk(23%, 72.4%, 0%, 40.4%)
CIE-LABlab(33.36, 50.23, -45.70)
CIE-LCHlch(33.36, 67.90, 317.70°)
OKLaboklab(44.77% 0.1191 -0.129)
OKLCHoklch(44.77% 0.176 312.7)
XYZxyz(13.8306, 7.7052, 30.4584)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A98 #4D982A
analogous
#3E2A98 #752A98 #982A84
triadic
#752A98 #98752A #2A9875
tetradic
#752A98 #983E2A #4D982A #2A8498
square
#752A98 #983E2A #4D982A #2A8498
split-complementary
#752A98 #84982A #2A983E
monochromatic
#2B1038 #501D68 #752A98 #9A37C8 #B267D5

Accessibility & contrast

On white

8.26
#752A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#752A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A98
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A98#FFFFFF#000000##FFFFFF
##752A981.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#1F5096
Tritanopia (blue-blind)
#71425E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752a98;
/* rgb */ color: rgb(117, 42, 152);
/* oklch */ color: oklch(44.8% 0.176 312.7);
Tailwind
colors: {
  custom: {
    50: '#a16bb7',
    500: '#752a98',
    950: '#000000',
  },
}
SCSS
$custom: #752a98;
$custom-light: #a16bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#752a98",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 280.909,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44774,
    "c": 0.17557,
    "h": 312.7
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#752A98
secondary
#7FBB62
accent
#E04878
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752A98

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

Preview Lab → · Contrast checker → · Palette generator →

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