#752D8E#752D8E

#752D8E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.162 H 316.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#752D8E
RGBrgb(117, 45, 142)
HSLhsl(285, 52%, 37%)
HSVhsv(285, 68%, 56%)
CMYKcmyk(17.6%, 68.3%, 0%, 44.3%)
CIE-LABlab(33.16, 46.74, -39.89)
CIE-LCHlch(33.16, 61.45, 319.52°)
OKLaboklab(44.42% 0.1166 -0.112)
OKLCHoklch(44.42% 0.162 316.1)
XYZxyz(13.1562, 7.6122, 26.3622)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D8E #468E2D
analogous
#452D8E #752D8E #8E2D77
triadic
#752D8E #8E752D #2D8E75
tetradic
#752D8E #8E452D #468E2D #2D778E
square
#752D8E #8E452D #468E2D #2D778E
split-complementary
#752D8E #778E2D #2D8E45
monochromatic
#281031 #4F1E60 #752D8E #9B3CBC #B467CF

Accessibility & contrast

On white

8.33
#752D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#752D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D8E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D8E#FFFFFF#000000##FFFFFF
##752D8E1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#733F5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752d8e;
/* rgb */ color: rgb(117, 45, 142);
/* oklch */ color: oklch(44.4% 0.162 316.1);
Tailwind
colors: {
  custom: {
    50: '#a06cb0',
    500: '#752d8e',
    950: '#000000',
  },
}
SCSS
$custom: #752d8e;
$custom-light: #a06cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#752d8e",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 284.536,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44416,
    "c": 0.16168,
    "h": 316.1
  },
  "luminance": 0.07612
}

Semantic roles & 50–950 ramp

primary
#752D8E
secondary
#77B561
accent
#DB4C71
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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