#752B87#752B87

#752B87 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.158 H 319.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#752B87
RGBrgb(117, 43, 135)
HSLhsl(288, 52%, 35%)
HSVhsv(288, 68%, 53%)
CMYKcmyk(13.3%, 68.1%, 0%, 47.1%)
CIE-LABlab(32.39, 46.18, -36.80)
CIE-LCHlch(32.39, 59.05, 321.45°)
OKLaboklab(43.72% 0.1192 -0.103)
OKLCHoklch(43.72% 0.158 319.2)
XYZxyz(12.5726, 7.2595, 23.6559)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B87 #3D872B
analogous
#472B87 #752B87 #872B6B
triadic
#752B87 #87752B #2B8775
tetradic
#752B87 #87472B #3D872B #2B6B87
square
#752B87 #87472B #3D872B #2B6B87
split-complementary
#752B87 #6B872B #2B8747
monochromatic
#250D2A #4D1C59 #752B87 #9D3AB5 #B760CC

Accessibility & contrast

On white

8.57
#752B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#752B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B87
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B87#FFFFFF#000000##FFFFFF
##752B871.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09478A
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#753B55
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752b87;
/* rgb */ color: rgb(117, 43, 135);
/* oklch */ color: oklch(43.7% 0.158 319.2);
Tailwind
colors: {
  custom: {
    50: '#a06aaa',
    500: '#752b87',
    950: '#000000',
  },
}
SCSS
$custom: #752b87;
$custom-light: #a06aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#752b87",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 288.261,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43718,
    "c": 0.15754,
    "h": 319.2
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#752B87
secondary
#6CB25B
accent
#DB4D69
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752B87

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

Preview Lab → · Contrast checker → · Palette generator →

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