#752486#752486

#752486 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.166 H 320.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#752486
RGBrgb(117, 36, 134)
HSLhsl(290, 58%, 33%)
HSVhsv(290, 73%, 53%)
CMYKcmyk(12.7%, 73.1%, 0%, 47.5%)
CIE-LABlab(31.27, 48.96, -37.98)
CIE-LCHlch(31.27, 61.96, 322.20°)
OKLaboklab(42.89% 0.1272 -0.1064)
OKLCHoklch(42.89% 0.166 320.1)
XYZxyz(12.2695, 6.7655, 23.2092)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752486 #358624
analogous
#442486 #752486 #862466
triadic
#752486 #867524 #248675
tetradic
#752486 #864424 #358624 #246686
square
#752486 #864424 #358624 #246686
split-complementary
#752486 #668624 #248644
monochromatic
#210A26 #4B1756 #752486 #9F31B6 #BB53D1

Accessibility & contrast

On white

8.92
#752486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#752486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752486
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752486#FFFFFF#000000##FFFFFF
##7524861.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#2D4C84
Tritanopia (blue-blind)
#753753
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752486;
/* rgb */ color: rgb(117, 36, 134);
/* oklch */ color: oklch(42.9% 0.166 320.1);
Tailwind
colors: {
  custom: {
    50: '#a067aa',
    500: '#752486',
    950: '#000000',
  },
}
SCSS
$custom: #752486;
$custom-light: #a067aa;
$custom-dark: #000000;
JSON
{
  "hex": "#752486",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 289.592,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42893,
    "c": 0.16579,
    "h": 320.1
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#752486
secondary
#62B551
accent
#E14762
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752486

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

Preview Lab → · Contrast checker → · Palette generator →

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