#752687#752687

#752687 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.164 H 319.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#752687
RGBrgb(117, 38, 135)
HSLhsl(289, 56%, 34%)
HSVhsv(289, 72%, 53%)
CMYKcmyk(13.3%, 71.9%, 0%, 47.1%)
CIE-LABlab(31.62, 48.35, -38.03)
CIE-LCHlch(31.62, 61.51, 321.81°)
OKLaboklab(43.17% 0.125 -0.1065)
OKLCHoklch(43.17% 0.164 319.5)
XYZxyz(12.4018, 6.9180, 23.5990)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752687 #388726
analogous
#452687 #752687 #872669
triadic
#752687 #877526 #268775
tetradic
#752687 #874526 #388726 #266987
square
#752687 #874526 #388726 #266987
split-complementary
#752687 #698726 #268745
monochromatic
#220B27 #4C1957 #752687 #9E33B7 #BA58D0

Accessibility & contrast

On white

8.81
#752687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#752687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752687
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752687#FFFFFF#000000##FFFFFF
##7526871.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#2E4D85
Tritanopia (blue-blind)
#753854
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752687;
/* rgb */ color: rgb(117, 38, 135);
/* oklch */ color: oklch(43.2% 0.164 319.5);
Tailwind
colors: {
  custom: {
    50: '#a068aa',
    500: '#752687',
    950: '#000000',
  },
}
SCSS
$custom: #752687;
$custom-light: #a068aa;
$custom-dark: #000000;
JSON
{
  "hex": "#752687",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 288.866,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43165,
    "c": 0.16421,
    "h": 319.5
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#752687
secondary
#66B554
accent
#DF4864
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752687

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

Preview Lab → · Contrast checker → · Palette generator →

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