#752A8B#752A8B

#752A8B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.163 H 317.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#752A8B
RGBrgb(117, 42, 139)
HSLhsl(286, 54%, 35%)
HSVhsv(286, 70%, 55%)
CMYKcmyk(15.8%, 69.8%, 0%, 45.5%)
CIE-LABlab(32.49, 47.45, -39.12)
CIE-LCHlch(32.49, 61.50, 320.50°)
OKLaboklab(43.87% 0.1202 -0.1098)
OKLCHoklch(43.87% 0.163 317.6)
XYZxyz(12.8236, 7.3025, 25.1551)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A8B #408B2A
analogous
#452A8B #752A8B #8B2A70
triadic
#752A8B #8B752A #2A8B75
tetradic
#752A8B #8B452A #408B2A #2A708B
square
#752A8B #8B452A #408B2A #2A708B
split-complementary
#752A8B #708B2A #2A8B45
monochromatic
#260E2D #4D1C5C #752A8B #9D38BA #B660CF

Accessibility & contrast

On white

8.54
#752A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#752A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A8B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A8B#FFFFFF#000000##FFFFFF
##752A8B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#743C57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752a8b;
/* rgb */ color: rgb(117, 42, 139);
/* oklch */ color: oklch(43.9% 0.163 317.6);
Tailwind
colors: {
  custom: {
    50: '#a06aad',
    500: '#752a8b',
    950: '#000000',
  },
}
SCSS
$custom: #752a8b;
$custom-light: #a06aad;
$custom-dark: #000000;
JSON
{
  "hex": "#752a8b",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 286.392,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43869,
    "c": 0.1628,
    "h": 317.6
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#752A8B
secondary
#70B55C
accent
#DD4B6C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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