#752C8E#752C8E

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

Color values

HEX#752C8E
RGBrgb(117, 44, 142)
HSLhsl(285, 53%, 36%)
HSVhsv(285, 69%, 56%)
CMYKcmyk(17.6%, 69%, 0%, 44.3%)
CIE-LABlab(33.00, 47.19, -40.15)
CIE-LCHlch(33.00, 61.96, 319.61°)
OKLaboklab(44.3% 0.1178 -0.1128)
OKLCHoklch(44.3% 0.163 316.2)
XYZxyz(13.1185, 7.5368, 26.3497)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C8E #458E2C
analogous
#442C8E #752C8E #8E2C76
triadic
#752C8E #8E752C #2C8E75
tetradic
#752C8E #8E442C #458E2C #2C768E
square
#752C8E #8E442C #458E2C #2C768E
split-complementary
#752C8E #768E2C #2C8E44
monochromatic
#280F31 #4F1E5F #752C8E #9B3ABD #B465CF

Accessibility & contrast

On white

8.38
#752C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#752C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C8E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C8E#FFFFFF#000000##FFFFFF
##752C8E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#2C508C
Tritanopia (blue-blind)
#743F59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752c8e;
/* rgb */ color: rgb(117, 44, 142);
/* oklch */ color: oklch(44.3% 0.163 316.2);
Tailwind
colors: {
  custom: {
    50: '#a06bb0',
    500: '#752c8e',
    950: '#000000',
  },
}
SCSS
$custom: #752c8e;
$custom-light: #a06bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#752c8e",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 284.694,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44299,
    "c": 0.16305,
    "h": 316.2
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#752C8E
secondary
#76B660
accent
#DC4C71
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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