#752B97#752B97

#752B97 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.173 H 313.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#752B97
RGBrgb(117, 43, 151)
HSLhsl(281, 56%, 38%)
HSVhsv(281, 72%, 59%)
CMYKcmyk(22.5%, 71.5%, 0%, 40.8%)
CIE-LABlab(33.44, 49.57, -44.95)
CIE-LCHlch(33.44, 66.92, 317.80°)
OKLaboklab(44.81% 0.1181 -0.1268)
OKLCHoklch(44.81% 0.173 313)
XYZxyz(13.7849, 7.7444, 30.0408)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B97 #4D972B
analogous
#3F2B97 #752B97 #972B83
triadic
#752B97 #97752B #2B9775
tetradic
#752B97 #973F2B #4D972B #2B8397
square
#752B97 #973F2B #4D972B #2B8397
split-complementary
#752B97 #83972B #2B973F
monochromatic
#2B1038 #501D67 #752B97 #9A39C7 #B268D4

Accessibility & contrast

On white

8.24
#752B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#752B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B97
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B97#FFFFFF#000000##FFFFFF
##752B971.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#215095
Tritanopia (blue-blind)
#71425E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752b97;
/* rgb */ color: rgb(117, 43, 151);
/* oklch */ color: oklch(44.8% 0.173 313.0);
Tailwind
colors: {
  custom: {
    50: '#a06bb6',
    500: '#752b97',
    950: '#000000',
  },
}
SCSS
$custom: #752b97;
$custom-light: #a06bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#752b97",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 281.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44811,
    "c": 0.17332,
    "h": 313
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#752B97
secondary
#7FBB63
accent
#DF4978
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752B97

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

Preview Lab → · Contrast checker → · Palette generator →

#752B97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva