#752E87#752E87

#752E87 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.153 H 318.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#752E87
RGBrgb(117, 46, 135)
HSLhsl(288, 49%, 35%)
HSVhsv(288, 66%, 53%)
CMYKcmyk(13.3%, 65.9%, 0%, 47.1%)
CIE-LABlab(32.89, 44.80, -36.01)
CIE-LCHlch(32.89, 57.48, 321.21°)
OKLaboklab(44.08% 0.1156 -0.1007)
OKLCHoklch(44.08% 0.153 318.9)
XYZxyz(12.6857, 7.4857, 23.6936)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E87 #40872E
analogous
#482E87 #752E87 #872E6C
triadic
#752E87 #87752E #2E8775
tetradic
#752E87 #87482E #40872E #2E6C87
square
#752E87 #87482E #40872E #2E6C87
split-complementary
#752E87 #6C872E #2E8748
monochromatic
#260F2C #4D1E59 #752E87 #9D3EB5 #B665CA

Accessibility & contrast

On white

8.41
#752E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#752E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E87
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E87#FFFFFF#000000##FFFFFF
##752E871.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12498A
Deuteranopia (green-blind)
#335085
Tritanopia (blue-blind)
#753D56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752e87;
/* rgb */ color: rgb(117, 46, 135);
/* oklch */ color: oklch(44.1% 0.153 318.9);
Tailwind
colors: {
  custom: {
    50: '#9f6caa',
    500: '#752e87',
    950: '#000000',
  },
}
SCSS
$custom: #752e87;
$custom-light: #9f6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#752e87",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 287.865,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.15327,
    "h": 318.9
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#752E87
secondary
#70B160
accent
#D94F6B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752E87

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

Preview Lab → · Contrast checker → · Palette generator →

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