#752B8E#752B8E

#752B8E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.164 H 316.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#752B8E
RGBrgb(117, 43, 142)
HSLhsl(285, 54%, 36%)
HSVhsv(285, 70%, 56%)
CMYKcmyk(17.6%, 69.7%, 0%, 44.3%)
CIE-LABlab(32.84, 47.64, -40.41)
CIE-LCHlch(32.84, 62.47, 319.70°)
OKLaboklab(44.18% 0.1189 -0.1135)
OKLCHoklch(44.18% 0.164 316.3)
XYZxyz(13.0817, 7.4632, 26.3374)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B8E #448E2B
analogous
#432B8E #752B8E #8E2B76
triadic
#752B8E #8E752B #2B8E75
tetradic
#752B8E #8E432B #448E2B #2B768E
square
#752B8E #8E432B #448E2B #2B768E
split-complementary
#752B8E #768E2B #2B8E43
monochromatic
#280F30 #4E1D5F #752B8E #9C39BD #B563D0

Accessibility & contrast

On white

8.42
#752B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#752B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B8E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B8E#FFFFFF#000000##FFFFFF
##752B8E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#2B4F8C
Tritanopia (blue-blind)
#743E59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752b8e;
/* rgb */ color: rgb(117, 43, 142);
/* oklch */ color: oklch(44.2% 0.164 316.3);
Tailwind
colors: {
  custom: {
    50: '#a06bb0',
    500: '#752b8e',
    950: '#000000',
  },
}
SCSS
$custom: #752b8e;
$custom-light: #a06bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#752b8e",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 284.848,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44184,
    "c": 0.1644,
    "h": 316.3
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#752B8E
secondary
#75B65F
accent
#DD4B70
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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