#752E89#752E89

#752E89 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.155 H 318.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#752E89
RGBrgb(117, 46, 137)
HSLhsl(287, 50%, 36%)
HSVhsv(287, 66%, 54%)
CMYKcmyk(14.6%, 66.4%, 0%, 46.3%)
CIE-LABlab(33.01, 45.22, -37.05)
CIE-LCHlch(33.01, 58.46, 320.67°)
OKLaboklab(44.21% 0.1156 -0.1037)
OKLCHoklch(44.21% 0.155 318.1)
XYZxyz(12.8278, 7.5426, 24.4422)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E89 #42892E
analogous
#472E89 #752E89 #892E6F
triadic
#752E89 #89752E #2E8975
tetradic
#752E89 #89472E #42892E #2E6F89
square
#752E89 #89472E #42892E #2E6F89
split-complementary
#752E89 #6F892E #2E8947
monochromatic
#270F2D #4E1F5B #752E89 #9C3DB7 #B566CC

Accessibility & contrast

On white

8.37
#752E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752E89
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E89#FFFFFF#000000##FFFFFF
##752E891.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#753E57
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752e89;
/* rgb */ color: rgb(117, 46, 137);
/* oklch */ color: oklch(44.2% 0.155 318.1);
Tailwind
colors: {
  custom: {
    50: '#a06cac',
    500: '#752e89',
    950: '#000000',
  },
}
SCSS
$custom: #752e89;
$custom-light: #a06cac;
$custom-dark: #000000;
JSON
{
  "hex": "#752e89",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 286.813,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44206,
    "c": 0.15527,
    "h": 318.1
  },
  "luminance": 0.07542
}

Semantic roles & 50–950 ramp

primary
#752E89
secondary
#72B260
accent
#D94F6D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752E89

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

Preview Lab → · Contrast checker → · Palette generator →

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