#752097#752097

#752097 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.186 H 313.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#752097
RGBrgb(117, 32, 151)
HSLhsl(283, 65%, 36%)
HSVhsv(283, 79%, 59%)
CMYKcmyk(22.5%, 78.8%, 0%, 40.8%)
CIE-LABlab(31.92, 53.92, -47.41)
CIE-LCHlch(31.92, 71.80, 318.68°)
OKLaboklab(43.73% 0.1289 -0.134)
OKLCHoklch(43.73% 0.186 313.9)
XYZxyz(13.4376, 7.0498, 29.9250)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752097 #429720
analogous
#392097 #752097 #97207D
triadic
#752097 #977520 #209775
tetradic
#752097 #973920 #429720 #207D97
square
#752097 #973920 #429720 #207D97
split-complementary
#752097 #7D9720 #209739
monochromatic
#270B32 #4E1564 #752097 #9C2BC9 #B556DB

Accessibility & contrast

On white

8.71
#752097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#752097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752097
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752097#FFFFFF#000000##FFFFFF
##7520971.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#144D95
Tritanopia (blue-blind)
#723C5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752097;
/* rgb */ color: rgb(117, 32, 151);
/* oklch */ color: oklch(43.7% 0.186 313.9);
Tailwind
colors: {
  custom: {
    50: '#a166b6',
    500: '#752097',
    950: '#000000',
  },
}
SCSS
$custom: #752097;
$custom-light: #a166b6;
$custom-dark: #000000;
JSON
{
  "hex": "#752097",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 282.857,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4373,
    "c": 0.18592,
    "h": 313.9
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#752097
secondary
#72BF54
accent
#E84070
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #752097

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

Preview Lab → · Contrast checker → · Palette generator →

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