#752E8A#752E8A

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

Color values

HEX#752E8A
RGBrgb(117, 46, 138)
HSLhsl(286, 50%, 36%)
HSVhsv(286, 67%, 54%)
CMYKcmyk(15.2%, 66.7%, 0%, 45.9%)
CIE-LABlab(33.07, 45.43, -37.57)
CIE-LCHlch(33.07, 58.95, 320.41°)
OKLaboklab(44.27% 0.1155 -0.1052)
OKLCHoklch(44.27% 0.156 317.7)
XYZxyz(12.8999, 7.5714, 24.8217)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E8A #438A2E
analogous
#472E8A #752E8A #8A2E71
triadic
#752E8A #8A752E #2E8A75
tetradic
#752E8A #8A472E #438A2E #2E718A
square
#752E8A #8A472E #438A2E #2E718A
split-complementary
#752E8A #718A2E #2E8A47
monochromatic
#270F2E #4E1F5C #752E8A #9C3DB8 #B566CC

Accessibility & contrast

On white

8.35
#752E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#752E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E8A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E8A#FFFFFF#000000##FFFFFF
##752E8A1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752e8a;
/* rgb */ color: rgb(117, 46, 138);
/* oklch */ color: oklch(44.3% 0.156 317.7);
Tailwind
colors: {
  custom: {
    50: '#a06cad',
    500: '#752e8a',
    950: '#000000',
  },
}
SCSS
$custom: #752e8a;
$custom-light: #a06cad;
$custom-dark: #000000;
JSON
{
  "hex": "#752e8a",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 286.304,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44271,
    "c": 0.15627,
    "h": 317.7
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#752E8A
secondary
#74B361
accent
#DA4E6E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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