#752B96#752B96

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

Color values

HEX#752B96
RGBrgb(117, 43, 150)
HSLhsl(281, 55%, 38%)
HSVhsv(281, 71%, 59%)
CMYKcmyk(22%, 71.3%, 0%, 41.2%)
CIE-LABlab(33.38, 49.36, -44.45)
CIE-LCHlch(33.38, 66.42, 317.99°)
OKLaboklab(44.74% 0.1182 -0.1254)
OKLCHoklch(44.74% 0.172 313.3)
XYZxyz(13.7041, 7.7121, 29.6149)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B96 #4C962B
analogous
#3F2B96 #752B96 #962B81
triadic
#752B96 #96752B #2B9675
tetradic
#752B96 #963F2B #4C962B #2B8196
square
#752B96 #963F2B #4C962B #2B8196
split-complementary
#752B96 #81962B #2B963F
monochromatic
#2B1037 #501D66 #752B96 #9A39C6 #B268D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752B96#FFFFFF#000000##FFFFFF
##752B961.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)
#004B99
Deuteranopia (green-blind)
#235094
Tritanopia (blue-blind)
#72415D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752b96;
/* rgb */ color: rgb(117, 43, 150);
/* oklch */ color: oklch(44.7% 0.172 313.3);
Tailwind
colors: {
  custom: {
    50: '#a06bb5',
    500: '#752b96',
    950: '#000000',
  },
}
SCSS
$custom: #752b96;
$custom-light: #a06bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#752b96",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 281.495,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4474,
    "c": 0.17233,
    "h": 313.3
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#752B96
secondary
#7EBA63
accent
#DF4977
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752B96

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

Preview Lab → · Contrast checker → · Palette generator →

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