#752F87#752F87

#752F87 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.152 H 318.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#752F87
RGBrgb(117, 47, 135)
HSLhsl(288, 48%, 36%)
HSVhsv(288, 65%, 53%)
CMYKcmyk(13.3%, 65.2%, 0%, 47.1%)
CIE-LABlab(33.06, 44.32, -35.73)
CIE-LCHlch(33.06, 56.93, 321.12°)
OKLaboklab(44.2% 0.1143 -0.0999)
OKLCHoklch(44.2% 0.152 318.9)
XYZxyz(12.7252, 7.5648, 23.7068)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F87 #41872F
analogous
#492F87 #752F87 #872F6D
triadic
#752F87 #87752F #2F8775
tetradic
#752F87 #87492F #41872F #2F6D87
square
#752F87 #87492F #41872F #2F6D87
split-complementary
#752F87 #6D872F #2F8749
monochromatic
#260F2C #4E1F5A #752F87 #9C3FB4 #B666CA

Accessibility & contrast

On white

8.36
#752F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752F87
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F87#FFFFFF#000000##FFFFFF
##752F871.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15498A
Deuteranopia (green-blind)
#345085
Tritanopia (blue-blind)
#753E56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752f87;
/* rgb */ color: rgb(117, 47, 135);
/* oklch */ color: oklch(44.2% 0.152 318.9);
Tailwind
colors: {
  custom: {
    50: '#9f6daa',
    500: '#752f87',
    950: '#000000',
  },
}
SCSS
$custom: #752f87;
$custom-light: #9f6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#752f87",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 287.727,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44201,
    "c": 0.1518,
    "h": 318.9
  },
  "luminance": 0.07564
}

Semantic roles & 50–950 ramp

primary
#752F87
secondary
#71B161
accent
#D8506C
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752F87

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

Preview Lab → · Contrast checker → · Palette generator →

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