#752E8B#752E8B

#752E8B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.157 H 317.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#752E8B
RGBrgb(117, 46, 139)
HSLhsl(286, 50%, 36%)
HSVhsv(286, 67%, 55%)
CMYKcmyk(15.8%, 66.9%, 0%, 45.5%)
CIE-LABlab(33.14, 45.64, -38.08)
CIE-LCHlch(33.14, 59.44, 320.16°)
OKLaboklab(44.34% 0.1155 -0.1067)
OKLCHoklch(44.34% 0.157 317.3)
XYZxyz(12.9726, 7.6005, 25.2048)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E8B #448B2E
analogous
#472E8B #752E8B #8B2E73
triadic
#752E8B #8B752E #2E8B75
tetradic
#752E8B #8B472E #448B2E #2E738B
square
#752E8B #8B472E #448B2E #2E738B
split-complementary
#752E8B #738B2E #2E8B47
monochromatic
#28102F #4E1F5D #752E8B #9C3DB9 #B567CD

Accessibility & contrast

On white

8.33
#752E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#752E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E8B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E8B#FFFFFF#000000##FFFFFF
##752E8B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A498E
Deuteranopia (green-blind)
#305089
Tritanopia (blue-blind)
#743F58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752e8b;
/* rgb */ color: rgb(117, 46, 139);
/* oklch */ color: oklch(44.3% 0.157 317.3);
Tailwind
colors: {
  custom: {
    50: '#a06cad',
    500: '#752e8b',
    950: '#000000',
  },
}
SCSS
$custom: #752e8b;
$custom-light: #a06cad;
$custom-dark: #000000;
JSON
{
  "hex": "#752e8b",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 285.806,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44336,
    "c": 0.15727,
    "h": 317.3
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#752E8B
secondary
#75B361
accent
#DA4E6F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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