#752987#752987

#752987 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.160 H 319.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#752987
RGBrgb(117, 41, 135)
HSLhsl(289, 53%, 35%)
HSVhsv(289, 70%, 53%)
CMYKcmyk(13.3%, 69.6%, 0%, 47.1%)
CIE-LABlab(32.07, 47.07, -37.31)
CIE-LCHlch(32.07, 60.06, 321.60°)
OKLaboklab(43.49% 0.1216 -0.1044)
OKLCHoklch(43.49% 0.16 319.3)
XYZxyz(12.5017, 7.1176, 23.6323)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752987 #3B8729
analogous
#462987 #752987 #87296A
triadic
#752987 #877529 #298775
tetradic
#752987 #874629 #3B8729 #296A87
square
#752987 #874629 #3B8729 #296A87
split-complementary
#752987 #6A8729 #298746
monochromatic
#240C29 #4C1B58 #752987 #9E37B6 #B85DCE

Accessibility & contrast

On white

8.67
#752987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#752987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752987
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752987#FFFFFF#000000##FFFFFF
##7529871.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03468A
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#753A55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752987;
/* rgb */ color: rgb(117, 41, 135);
/* oklch */ color: oklch(43.5% 0.160 319.3);
Tailwind
colors: {
  custom: {
    50: '#a069aa',
    500: '#752987',
    950: '#000000',
  },
}
SCSS
$custom: #752987;
$custom-light: #a069aa;
$custom-dark: #000000;
JSON
{
  "hex": "#752987",
  "rgb": {
    "r": 117,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 288.511,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4349,
    "c": 0.16028,
    "h": 319.3
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#752987
secondary
#6AB359
accent
#DD4B67
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752987

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

Preview Lab → · Contrast checker → · Palette generator →

#752987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva