#752A96#752A96

#752A96 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.174 H 313.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#752A96
RGBrgb(117, 42, 150)
HSLhsl(282, 56%, 38%)
HSVhsv(282, 72%, 59%)
CMYKcmyk(22%, 72%, 0%, 41.2%)
CIE-LABlab(33.22, 49.79, -44.70)
CIE-LCHlch(33.22, 66.91, 318.08°)
OKLaboklab(44.63% 0.1193 -0.1261)
OKLCHoklch(44.63% 0.174 313.4)
XYZxyz(13.6681, 7.6403, 29.6030)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A96 #4B962A
analogous
#3F2A96 #752A96 #962A81
triadic
#752A96 #96752A #2A9675
tetradic
#752A96 #963F2A #4B962A #2A8196
square
#752A96 #963F2A #4B962A #2A8196
split-complementary
#752A96 #81962A #2A963F
monochromatic
#2A0F36 #501D66 #752A96 #9A37C6 #B366D4

Accessibility & contrast

On white

8.31
#752A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#752A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A96
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A96#FFFFFF#000000##FFFFFF
##752A961.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#225094
Tritanopia (blue-blind)
#72415D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752a96;
/* rgb */ color: rgb(117, 42, 150);
/* oklch */ color: oklch(44.6% 0.174 313.4);
Tailwind
colors: {
  custom: {
    50: '#a06ab5',
    500: '#752a96',
    950: '#000000',
  },
}
SCSS
$custom: #752a96;
$custom-light: #a06ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#752a96",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 281.667,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4463,
    "c": 0.17359,
    "h": 313.4
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#752A96
secondary
#7DBA61
accent
#E04876
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752A96

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

Preview Lab → · Contrast checker → · Palette generator →

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