#752D87#752D87

#752D87 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.155 H 319.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#752D87
RGBrgb(117, 45, 135)
HSLhsl(288, 50%, 35%)
HSVhsv(288, 67%, 53%)
CMYKcmyk(13.3%, 66.7%, 0%, 47.1%)
CIE-LABlab(32.72, 45.27, -36.28)
CIE-LCHlch(32.72, 58.01, 321.29°)
OKLaboklab(43.96% 0.1168 -0.1014)
OKLCHoklch(43.96% 0.155 319)
XYZxyz(12.6471, 7.4085, 23.6808)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D87 #3F872D
analogous
#482D87 #752D87 #872D6C
triadic
#752D87 #87752D #2D8775
tetradic
#752D87 #87482D #3F872D #2D6C87
square
#752D87 #87482D #3F872D #2D6C87
split-complementary
#752D87 #6C872D #2D8748
monochromatic
#250E2B #4D1E59 #752D87 #9D3CB5 #B663CB

Accessibility & contrast

On white

8.46
#752D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#752D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D87
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D87#FFFFFF#000000##FFFFFF
##752D871.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10488A
Deuteranopia (green-blind)
#334F85
Tritanopia (blue-blind)
#753D56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752d87;
/* rgb */ color: rgb(117, 45, 135);
/* oklch */ color: oklch(44.0% 0.155 319.0);
Tailwind
colors: {
  custom: {
    50: '#a06baa',
    500: '#752d87',
    950: '#000000',
  },
}
SCSS
$custom: #752d87;
$custom-light: #a06baa;
$custom-dark: #000000;
JSON
{
  "hex": "#752d87",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 288,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43955,
    "c": 0.15471,
    "h": 319
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#752D87
secondary
#6FB25E
accent
#DA4E6A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752D87

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

Preview Lab → · Contrast checker → · Palette generator →

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