#752087#752087

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

Color values

HEX#752087
RGBrgb(117, 32, 135)
HSLhsl(290, 62%, 33%)
HSVhsv(290, 76%, 53%)
CMYKcmyk(13.3%, 76.3%, 0%, 47.1%)
CIE-LABlab(30.79, 50.69, -39.36)
CIE-LCHlch(30.79, 64.17, 322.17°)
OKLaboklab(42.58% 0.1312 -0.1104)
OKLCHoklch(42.58% 0.171 319.9)
XYZxyz(12.2253, 6.5648, 23.5402)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752087 #328720
analogous
#422087 #752087 #872065
triadic
#752087 #877520 #208775
tetradic
#752087 #874220 #328720 #206587
square
#752087 #874220 #328720 #206587
split-complementary
#752087 #658720 #208742
monochromatic
#1F0924 #4A1456 #752087 #A02CB8 #BD4DD5

Accessibility & contrast

On white

9.08
#752087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#752087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752087
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752087#FFFFFF#000000##FFFFFF
##7520871.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#294B85
Tritanopia (blue-blind)
#753552
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752087;
/* rgb */ color: rgb(117, 32, 135);
/* oklch */ color: oklch(42.6% 0.171 319.9);
Tailwind
colors: {
  custom: {
    50: '#a065aa',
    500: '#752087',
    950: '#000000',
  },
}
SCSS
$custom: #752087;
$custom-light: #a065aa;
$custom-dark: #000000;
JSON
{
  "hex": "#752087",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 289.515,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42577,
    "c": 0.17141,
    "h": 319.9
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#752087
secondary
#5EB84B
accent
#E5435F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752087

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

Preview Lab → · Contrast checker → · Palette generator →

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