#752187#752187

#752187 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.170 H 319.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#752187
RGBrgb(117, 33, 135)
HSLhsl(289, 61%, 33%)
HSVhsv(289, 76%, 53%)
CMYKcmyk(13.3%, 75.6%, 0%, 47.1%)
CIE-LABlab(30.92, 50.32, -39.15)
CIE-LCHlch(30.92, 63.75, 322.12°)
OKLaboklab(42.67% 0.1302 -0.1098)
OKLCHoklch(42.67% 0.17 319.9)
XYZxyz(12.2526, 6.6195, 23.5493)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752187 #338721
analogous
#422187 #752187 #872166
triadic
#752187 #877521 #218775
tetradic
#752187 #874221 #338721 #216687
square
#752187 #874221 #338721 #216687
split-complementary
#752187 #668721 #218742
monochromatic
#200925 #4A1556 #752187 #A02DB8 #BC4FD4

Accessibility & contrast

On white

9.04
#752187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752187
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752187#FFFFFF#000000##FFFFFF
##7521871.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#2A4C85
Tritanopia (blue-blind)
#753552
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752187;
/* rgb */ color: rgb(117, 33, 135);
/* oklch */ color: oklch(42.7% 0.170 319.9);
Tailwind
colors: {
  custom: {
    50: '#a066aa',
    500: '#752187',
    950: '#000000',
  },
}
SCSS
$custom: #752187;
$custom-light: #a066aa;
$custom-dark: #000000;
JSON
{
  "hex": "#752187",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 289.412,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.17028,
    "h": 319.9
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#752187
secondary
#5FB74D
accent
#E44460
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752187

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

Preview Lab → · Contrast checker → · Palette generator →

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