#752C96#752C96

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

Color values

HEX#752C96
RGBrgb(117, 44, 150)
HSLhsl(281, 55%, 38%)
HSVhsv(281, 71%, 59%)
CMYKcmyk(22%, 70.7%, 0%, 41.2%)
CIE-LABlab(33.53, 48.92, -44.20)
CIE-LCHlch(33.53, 65.93, 317.90°)
OKLaboklab(44.85% 0.1171 -0.1246)
OKLCHoklch(44.85% 0.171 313.2)
XYZxyz(13.7409, 7.7857, 29.6272)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C96 #4D962C
analogous
#402C96 #752C96 #962C82
triadic
#752C96 #96752C #2C9675
tetradic
#752C96 #96402C #4D962C #2C8296
square
#752C96 #96402C #4D962C #2C8296
split-complementary
#752C96 #82962C #2C9640
monochromatic
#2B1037 #501E67 #752C96 #9A3AC5 #B269D3

Accessibility & contrast

On white

8.21
#752C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752C96
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C96#FFFFFF#000000##FFFFFF
##752C961.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#245094
Tritanopia (blue-blind)
#72425E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752c96;
/* rgb */ color: rgb(117, 44, 150);
/* oklch */ color: oklch(44.9% 0.171 313.2);
Tailwind
colors: {
  custom: {
    50: '#a06cb5',
    500: '#752c96',
    950: '#000000',
  },
}
SCSS
$custom: #752c96;
$custom-light: #a06cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#752c96",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 281.321,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44852,
    "c": 0.17105,
    "h": 313.2
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#752C96
secondary
#7FBA64
accent
#DE4A78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752C96

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

Preview Lab → · Contrast checker → · Palette generator →

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