#752D8F#752D8F

#752D8F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.163 H 315.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#752D8F
RGBrgb(117, 45, 143)
HSLhsl(284, 52%, 37%)
HSVhsv(284, 69%, 56%)
CMYKcmyk(18.2%, 68.5%, 0%, 43.9%)
CIE-LABlab(33.23, 46.95, -40.40)
CIE-LCHlch(33.23, 61.94, 319.29°)
OKLaboklab(44.48% 0.1165 -0.1135)
OKLCHoklch(44.48% 0.163 315.7)
XYZxyz(13.2317, 7.6423, 26.7594)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D8F #478F2D
analogous
#442D8F #752D8F #8F2D78
triadic
#752D8F #8F752D #2D8F75
tetradic
#752D8F #8F442D #478F2D #2D788F
square
#752D8F #8F442D #478F2D #2D788F
split-complementary
#752D8F #788F2D #2D8F44
monochromatic
#291032 #4F1E60 #752D8F #9B3CBE #B467CF

Accessibility & contrast

On white

8.31
#752D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#752D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D8F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D8F#FFFFFF#000000##FFFFFF
##752D8F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#73405A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752d8f;
/* rgb */ color: rgb(117, 45, 143);
/* oklch */ color: oklch(44.5% 0.163 315.7);
Tailwind
colors: {
  custom: {
    50: '#a06cb0',
    500: '#752d8f',
    950: '#000000',
  },
}
SCSS
$custom: #752d8f;
$custom-light: #a06cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#752d8f",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 284.082,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44483,
    "c": 0.16268,
    "h": 315.7
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#752D8F
secondary
#78B662
accent
#DC4C72
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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