#752D94#752D94

#752D94 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.168 H 313.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#752D94
RGBrgb(117, 45, 148)
HSLhsl(282, 53%, 38%)
HSVhsv(282, 70%, 58%)
CMYKcmyk(20.9%, 69.6%, 0%, 42%)
CIE-LABlab(33.56, 48.03, -42.94)
CIE-LCHlch(33.56, 64.43, 318.21°)
OKLaboklab(44.83% 0.1162 -0.1209)
OKLCHoklch(44.83% 0.168 313.9)
XYZxyz(13.6189, 7.7972, 28.7988)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D94 #4C942D
analogous
#422D94 #752D94 #942D7F
triadic
#752D94 #94752D #2D9475
tetradic
#752D94 #94422D #4C942D #2D7F94
square
#752D94 #94422D #4C942D #2D7F94
split-complementary
#752D94 #7F942D #2D9442
monochromatic
#2B1036 #501F65 #752D94 #9A3BC3 #B26AD2

Accessibility & contrast

On white

8.21
#752D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#752D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D94
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D94#FFFFFF#000000##FFFFFF
##752D941.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#275192
Tritanopia (blue-blind)
#72425D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752d94;
/* rgb */ color: rgb(117, 45, 148);
/* oklch */ color: oklch(44.8% 0.168 313.9);
Tailwind
colors: {
  custom: {
    50: '#a06cb4',
    500: '#752d94',
    950: '#000000',
  },
}
SCSS
$custom: #752d94;
$custom-light: #a06cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#752d94",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 281.942,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44826,
    "c": 0.16772,
    "h": 313.9
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#752D94
secondary
#7EB864
accent
#DD4B77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752D94

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

Preview Lab → · Contrast checker → · Palette generator →

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