#752D95#752D95

#752D95 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.169 H 313.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#752D95
RGBrgb(117, 45, 149)
HSLhsl(282, 54%, 38%)
HSVhsv(282, 70%, 58%)
CMYKcmyk(21.5%, 69.8%, 0%, 41.6%)
CIE-LABlab(33.62, 48.25, -43.44)
CIE-LCHlch(33.62, 64.93, 318.00°)
OKLaboklab(44.9% 0.1161 -0.1224)
OKLCHoklch(44.9% 0.169 313.5)
XYZxyz(13.6984, 7.8290, 29.2175)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D95 #4D952D
analogous
#412D95 #752D95 #952D81
triadic
#752D95 #95752D #2D9575
tetradic
#752D95 #95412D #4D952D #2D8195
square
#752D95 #95412D #4D952D #2D8195
split-complementary
#752D95 #81952D #2D9541
monochromatic
#2B1137 #501F66 #752D95 #9A3BC4 #B26AD2

Accessibility & contrast

On white

8.18
#752D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#752D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D95
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D95#FFFFFF#000000##FFFFFF
##752D951.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752d95;
/* rgb */ color: rgb(117, 45, 149);
/* oklch */ color: oklch(44.9% 0.169 313.5);
Tailwind
colors: {
  custom: {
    50: '#a06cb5',
    500: '#752d95',
    950: '#000000',
  },
}
SCSS
$custom: #752d95;
$custom-light: #a06cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#752d95",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 281.538,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44896,
    "c": 0.16873,
    "h": 313.5
  },
  "luminance": 0.07829
}

Semantic roles & 50–950 ramp

primary
#752D95
secondary
#7FB965
accent
#DD4B78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752D95

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

Preview Lab → · Contrast checker → · Palette generator →

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