#752A87#752A87

#752A87 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.159 H 319.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#752A87
RGBrgb(117, 42, 135)
HSLhsl(288, 53%, 35%)
HSVhsv(288, 69%, 53%)
CMYKcmyk(13.3%, 68.9%, 0%, 47.1%)
CIE-LABlab(32.23, 46.63, -37.06)
CIE-LCHlch(32.23, 59.56, 321.52°)
OKLaboklab(43.6% 0.1204 -0.1037)
OKLCHoklch(43.6% 0.159 319.3)
XYZxyz(12.5367, 7.1877, 23.6440)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A87 #3C872A
analogous
#472A87 #752A87 #872A6B
triadic
#752A87 #87752A #2A8775
tetradic
#752A87 #87472A #3C872A #2A6B87
square
#752A87 #87472A #3C872A #2A6B87
split-complementary
#752A87 #6B872A #2A8747
monochromatic
#240D2A #4D1B58 #752A87 #9D39B6 #B85ECD

Accessibility & contrast

On white

8.62
#752A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#752A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A87
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A87#FFFFFF#000000##FFFFFF
##752A871.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#753B55
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752a87;
/* rgb */ color: rgb(117, 42, 135);
/* oklch */ color: oklch(43.6% 0.159 319.3);
Tailwind
colors: {
  custom: {
    50: '#a06aaa',
    500: '#752a87',
    950: '#000000',
  },
}
SCSS
$custom: #752a87;
$custom-light: #a06aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#752a87",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 288.387,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43603,
    "c": 0.15892,
    "h": 319.3
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#752A87
secondary
#6BB35A
accent
#DC4C68
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752A87

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

Preview Lab → · Contrast checker → · Palette generator →

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