#752B8F#752B8F

#752B8F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.165 H 315.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#752B8F
RGBrgb(117, 43, 143)
HSLhsl(284, 54%, 36%)
HSVhsv(284, 70%, 56%)
CMYKcmyk(18.2%, 69.9%, 0%, 43.9%)
CIE-LABlab(32.90, 47.85, -40.92)
CIE-LCHlch(32.90, 62.96, 319.47°)
OKLaboklab(44.25% 0.1188 -0.115)
OKLCHoklch(44.25% 0.165 315.9)
XYZxyz(13.1571, 7.4933, 26.7346)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B8F #458F2B
analogous
#432B8F #752B8F #8F2B77
triadic
#752B8F #8F752B #2B8F75
tetradic
#752B8F #8F432B #458F2B #2B778F
square
#752B8F #8F432B #458F2B #2B778F
split-complementary
#752B8F #778F2B #2B8F43
monochromatic
#280F31 #4F1D60 #752B8F #9B39BE #B464D0

Accessibility & contrast

On white

8.40
#752B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#752B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B8F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B8F#FFFFFF#000000##FFFFFF
##752B8F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#2A4F8D
Tritanopia (blue-blind)
#733F59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752b8f;
/* rgb */ color: rgb(117, 43, 143);
/* oklch */ color: oklch(44.3% 0.165 315.9);
Tailwind
colors: {
  custom: {
    50: '#a06bb0',
    500: '#752b8f',
    950: '#000000',
  },
}
SCSS
$custom: #752b8f;
$custom-light: #a06bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#752b8f",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 284.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.16539,
    "h": 315.9
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#752B8F
secondary
#76B75F
accent
#DD4B71
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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