#752186#752186

#752186 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.169 H 320.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#752186
RGBrgb(117, 33, 134)
HSLhsl(290, 60%, 33%)
HSVhsv(290, 75%, 53%)
CMYKcmyk(12.7%, 75.4%, 0%, 47.5%)
CIE-LABlab(30.86, 50.12, -38.63)
CIE-LCHlch(30.86, 63.28, 322.38°)
OKLaboklab(42.6% 0.1303 -0.1082)
OKLCHoklch(42.6% 0.169 320.3)
XYZxyz(12.1825, 6.5915, 23.1802)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752186 #328621
analogous
#422186 #752186 #862164
triadic
#752186 #867521 #218675
tetradic
#752186 #864221 #328621 #216486
square
#752186 #864221 #328621 #216486
split-complementary
#752186 #648621 #218642
monochromatic
#1F0924 #4A1555 #752186 #A02DB7 #BD4ED3

Accessibility & contrast

On white

9.06
#752186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#752186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752186
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752186#FFFFFF#000000##FFFFFF
##7521861.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#2B4C84
Tritanopia (blue-blind)
#763552
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752186;
/* rgb */ color: rgb(117, 33, 134);
/* oklch */ color: oklch(42.6% 0.169 320.3);
Tailwind
colors: {
  custom: {
    50: '#a066aa',
    500: '#752186',
    950: '#000000',
  },
}
SCSS
$custom: #752186;
$custom-light: #a066aa;
$custom-dark: #000000;
JSON
{
  "hex": "#752186",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 289.901,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42601,
    "c": 0.16938,
    "h": 320.3
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#752186
secondary
#5EB74C
accent
#E4445F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752186

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

Preview Lab → · Contrast checker → · Palette generator →

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