#752B9A#752B9A

#752B9A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.176 H 311.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#752B9A
RGBrgb(117, 43, 154)
HSLhsl(280, 56%, 39%)
HSVhsv(280, 72%, 60%)
CMYKcmyk(24%, 72.1%, 0%, 39.6%)
CIE-LABlab(33.65, 50.23, -46.44)
CIE-LCHlch(33.65, 68.41, 317.25°)
OKLaboklab(45.03% 0.1178 -0.1312)
OKLCHoklch(45.03% 0.176 311.9)
XYZxyz(14.0317, 7.8431, 31.3403)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B9A #509A2B
analogous
#3D2B9A #752B9A #9A2B87
triadic
#752B9A #9A752B #2B9A75
tetradic
#752B9A #9A3D2B #509A2B #2B879A
square
#752B9A #9A3D2B #509A2B #2B879A
split-complementary
#752B9A #879A2B #2B9A3D
monochromatic
#2C103A #511E6A #752B9A #993AC8 #B26AD5

Accessibility & contrast

On white

8.18
#752B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#752B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B9A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B9A#FFFFFF#000000##FFFFFF
##752B9A1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#714360
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752b9a;
/* rgb */ color: rgb(117, 43, 154);
/* oklch */ color: oklch(45.0% 0.176 311.9);
Tailwind
colors: {
  custom: {
    50: '#a16bb8',
    500: '#752b9a',
    950: '#000000',
  },
}
SCSS
$custom: #752b9a;
$custom-light: #a16bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#752b9a",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 280,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45026,
    "c": 0.17631,
    "h": 311.9
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#752B9A
secondary
#82BC65
accent
#E0487B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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