#752C87#752C87

#752C87 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.156 H 319.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#752C87
RGBrgb(117, 44, 135)
HSLhsl(288, 51%, 35%)
HSVhsv(288, 67%, 53%)
CMYKcmyk(13.3%, 67.4%, 0%, 47.1%)
CIE-LABlab(32.55, 45.73, -36.54)
CIE-LCHlch(32.55, 58.53, 321.37°)
OKLaboklab(43.84% 0.118 -0.1022)
OKLCHoklch(43.84% 0.156 319.1)
XYZxyz(12.6094, 7.3331, 23.6682)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C87 #3E872C
analogous
#482C87 #752C87 #872C6B
triadic
#752C87 #87752C #2C8775
tetradic
#752C87 #87482C #3E872C #2C6B87
square
#752C87 #87482C #3E872C #2C6B87
split-complementary
#752C87 #6B872C #2C8748
monochromatic
#250E2B #4D1D59 #752C87 #9D3BB5 #B762CC

Accessibility & contrast

On white

8.51
#752C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#752C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C87
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C87#FFFFFF#000000##FFFFFF
##752C871.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D488A
Deuteranopia (green-blind)
#324F85
Tritanopia (blue-blind)
#753C55
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752c87;
/* rgb */ color: rgb(117, 44, 135);
/* oklch */ color: oklch(43.8% 0.156 319.1);
Tailwind
colors: {
  custom: {
    50: '#a06baa',
    500: '#752c87',
    950: '#000000',
  },
}
SCSS
$custom: #752c87;
$custom-light: #a06baa;
$custom-dark: #000000;
JSON
{
  "hex": "#752c87",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 288.132,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43836,
    "c": 0.15614,
    "h": 319.1
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#752C87
secondary
#6EB25D
accent
#DA4D69
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752C87

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

Preview Lab → · Contrast checker → · Palette generator →

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