#752887#752887

#752887 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.162 H 319.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#752887
RGBrgb(117, 40, 135)
HSLhsl(289, 54%, 34%)
HSVhsv(289, 70%, 53%)
CMYKcmyk(13.3%, 70.4%, 0%, 47.1%)
CIE-LABlab(31.92, 47.50, -37.55)
CIE-LCHlch(31.92, 60.55, 321.67°)
OKLaboklab(43.38% 0.1227 -0.1051)
OKLCHoklch(43.38% 0.162 319.4)
XYZxyz(12.4675, 7.0494, 23.6209)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752887 #3A8728
analogous
#462887 #752887 #87286A
triadic
#752887 #877528 #288775
tetradic
#752887 #874628 #3A8728 #286A87
square
#752887 #874628 #3A8728 #286A87
split-complementary
#752887 #6A8728 #288746
monochromatic
#230C29 #4C1A58 #752887 #9E36B6 #B95BCE

Accessibility & contrast

On white

8.71
#752887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#752887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752887
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752887#FFFFFF#000000##FFFFFF
##7528871.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#753954
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752887;
/* rgb */ color: rgb(117, 40, 135);
/* oklch */ color: oklch(43.4% 0.162 319.4);
Tailwind
colors: {
  custom: {
    50: '#a069aa',
    500: '#752887',
    950: '#000000',
  },
}
SCSS
$custom: #752887;
$custom-light: #a069aa;
$custom-dark: #000000;
JSON
{
  "hex": "#752887",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 288.632,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4338,
    "c": 0.16161,
    "h": 319.4
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#752887
secondary
#69B457
accent
#DE4A66
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752887

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

Preview Lab → · Contrast checker → · Palette generator →

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