#752B82#752B82

#752B82 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.153 H 321.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#752B82
RGBrgb(117, 43, 130)
HSLhsl(291, 50%, 34%)
HSVhsv(291, 67%, 51%)
CMYKcmyk(10%, 66.9%, 0%, 49%)
CIE-LABlab(32.08, 45.16, -34.18)
CIE-LCHlch(32.08, 56.64, 322.88°)
OKLaboklab(43.4% 0.1193 -0.0953)
OKLCHoklch(43.4% 0.153 321.4)
XYZxyz(12.2288, 7.1220, 21.8453)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B82 #38822B
analogous
#4A2B82 #752B82 #822B64
triadic
#752B82 #82752B #2B8275
tetradic
#752B82 #824A2B #38822B #2B6482
square
#752B82 #824A2B #38822B #2B6482
split-complementary
#752B82 #64822B #2B824A
monochromatic
#220D26 #4C1C54 #752B82 #9E3AB0 #BA5ECA

Accessibility & contrast

On white

8.66
#752B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#752B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B82
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B82#FFFFFF#000000##FFFFFF
##752B821.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144685
Deuteranopia (green-blind)
#354E80
Tritanopia (blue-blind)
#763952
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752b82;
/* rgb */ color: rgb(117, 43, 130);
/* oklch */ color: oklch(43.4% 0.153 321.4);
Tailwind
colors: {
  custom: {
    50: '#9f6aa7',
    500: '#752b82',
    950: '#000000',
  },
}
SCSS
$custom: #752b82;
$custom-light: #9f6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#752b82",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 291.034,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43398,
    "c": 0.15269,
    "h": 321.4
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#752B82
secondary
#66B059
accent
#DA4E63
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752B82

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

Preview Lab → · Contrast checker → · Palette generator →

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