#752B8A#752B8A

#752B8A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.160 H 317.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#752B8A
RGBrgb(117, 43, 138)
HSLhsl(287, 52%, 35%)
HSVhsv(287, 69%, 54%)
CMYKcmyk(15.2%, 68.8%, 0%, 45.9%)
CIE-LABlab(32.58, 46.80, -38.36)
CIE-LCHlch(32.58, 60.51, 320.66°)
OKLaboklab(43.92% 0.1191 -0.1075)
OKLCHoklch(43.92% 0.16 317.9)
XYZxyz(12.7868, 7.3452, 24.7840)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B8A #408A2B
analogous
#452B8A #752B8A #8A2B6F
triadic
#752B8A #8A752B #2B8A75
tetradic
#752B8A #8A452B #408A2B #2B6F8A
square
#752B8A #8A452B #408A2B #2B6F8A
split-complementary
#752B8A #6F8A2B #2B8A45
monochromatic
#260E2D #4D1C5B #752B8A #9D3AB9 #B661CE

Accessibility & contrast

On white

8.51
#752B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#752B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B8A
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B8A#FFFFFF#000000##FFFFFF
##752B8A1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01488D
Deuteranopia (green-blind)
#2F4F88
Tritanopia (blue-blind)
#743D57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752b8a;
/* rgb */ color: rgb(117, 43, 138);
/* oklch */ color: oklch(43.9% 0.160 317.9);
Tailwind
colors: {
  custom: {
    50: '#a06bad',
    500: '#752b8a',
    950: '#000000',
  },
}
SCSS
$custom: #752b8a;
$custom-light: #a06bad;
$custom-dark: #000000;
JSON
{
  "hex": "#752b8a",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 286.737,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43916,
    "c": 0.16048,
    "h": 317.9
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#752B8A
secondary
#70B45D
accent
#DC4C6C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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