#752A7B#752A7B

#752A7B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.147 H 324.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#752A7B
RGBrgb(117, 42, 123)
HSLhsl(296, 49%, 32%)
HSVhsv(296, 66%, 48%)
CMYKcmyk(4.9%, 65.9%, 0%, 51.8%)
CIE-LABlab(31.51, 44.23, -30.72)
CIE-LCHlch(31.51, 53.85, 325.22°)
OKLaboklab(42.85% 0.1204 -0.0852)
OKLCHoklch(42.85% 0.148 324.7)
XYZxyz(11.7389, 6.8686, 19.4425)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A7B #307B2A
analogous
#4D2A7B #752A7B #7B2A58
triadic
#752A7B #7B752A #2A7B75
tetradic
#752A7B #7B4D2A #307B2A #2A587B
square
#752A7B #7B4D2A #307B2A #2A587B
split-complementary
#752A7B #587B2A #2A7B4D
monochromatic
#1E0B20 #4A1A4D #752A7B #A03AA9 #BE59C6

Accessibility & contrast

On white

8.85
#752A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#752A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A7B
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A7B#FFFFFF#000000##FFFFFF
##752A7B1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447D
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#78364E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752a7b;
/* rgb */ color: rgb(117, 42, 123);
/* oklch */ color: oklch(42.8% 0.147 324.7);
Tailwind
colors: {
  custom: {
    50: '#9f69a1',
    500: '#752a7b',
    950: '#000000',
  },
}
SCSS
$custom: #752a7b;
$custom-light: #9f69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#752a7b",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 295.556,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42847,
    "c": 0.1475,
    "h": 324.7
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#752A7B
secondary
#5BAC55
accent
#D94F59
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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