#752A89#752A89

#752A89 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.161 H 318.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#752A89
RGBrgb(117, 42, 137)
HSLhsl(287, 53%, 35%)
HSVhsv(287, 69%, 54%)
CMYKcmyk(14.6%, 69.3%, 0%, 46.3%)
CIE-LABlab(32.36, 47.04, -38.09)
CIE-LCHlch(32.36, 60.53, 321.00°)
OKLaboklab(43.74% 0.1203 -0.1067)
OKLCHoklch(43.74% 0.161 318.4)
XYZxyz(12.6788, 7.2445, 24.3925)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A89 #3E892A
analogous
#452A89 #752A89 #892A6E
triadic
#752A89 #89752A #2A8975
tetradic
#752A89 #89452A #3E892A #2A6E89
square
#752A89 #89452A #3E892A #2A6E89
split-complementary
#752A89 #6E892A #2A8945
monochromatic
#250D2B #4D1C5A #752A89 #9D38B8 #B75FCE

Accessibility & contrast

On white

8.58
#752A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#752A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A89
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A89#FFFFFF#000000##FFFFFF
##752A891.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478C
Deuteranopia (green-blind)
#2F4F87
Tritanopia (blue-blind)
#753C56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752a89;
/* rgb */ color: rgb(117, 42, 137);
/* oklch */ color: oklch(43.7% 0.161 318.4);
Tailwind
colors: {
  custom: {
    50: '#a06aac',
    500: '#752a89',
    950: '#000000',
  },
}
SCSS
$custom: #752a89;
$custom-light: #a06aac;
$custom-dark: #000000;
JSON
{
  "hex": "#752a89",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 287.368,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43735,
    "c": 0.16086,
    "h": 318.4
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#752A89
secondary
#6EB45B
accent
#DC4B6A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752A89

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

Preview Lab → · Contrast checker → · Palette generator →

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