#752E96#752E96

#752E96 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.168 H 313.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#752E96
RGBrgb(117, 46, 150)
HSLhsl(281, 53%, 38%)
HSVhsv(281, 69%, 59%)
CMYKcmyk(22%, 69.3%, 0%, 41.2%)
CIE-LABlab(33.85, 48.02, -43.68)
CIE-LCHlch(33.85, 64.91, 317.71°)
OKLaboklab(45.08% 0.1149 -0.1231)
OKLCHoklch(45.08% 0.168 313)
XYZxyz(13.8172, 7.9383, 29.6526)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E96 #4F962E
analogous
#412E96 #752E96 #962E83
triadic
#752E96 #96752E #2E9675
tetradic
#752E96 #96412E #4F962E #2E8396
square
#752E96 #96412E #4F962E #2E8396
split-complementary
#752E96 #83962E #2E9641
monochromatic
#2C1138 #502067 #752E96 #993EC4 #B26CD2

Accessibility & contrast

On white

8.12
#752E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#752E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E96
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E96#FFFFFF#000000##FFFFFF
##752E961.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#265194
Tritanopia (blue-blind)
#72435E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752e96;
/* rgb */ color: rgb(117, 46, 150);
/* oklch */ color: oklch(45.1% 0.168 313.0);
Tailwind
colors: {
  custom: {
    50: '#a06db5',
    500: '#752e96',
    950: '#000000',
  },
}
SCSS
$custom: #752e96;
$custom-light: #a06db5;
$custom-dark: #000000;
JSON
{
  "hex": "#752e96",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 280.962,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45082,
    "c": 0.16841,
    "h": 313
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#752E96
secondary
#81B967
accent
#DC4B79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752E96

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

Preview Lab → · Contrast checker → · Palette generator →

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