#752B7C#752B7C

#752B7C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.147 H 324.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#752B7C
RGBrgb(117, 43, 124)
HSLhsl(295, 49%, 33%)
HSVhsv(295, 65%, 49%)
CMYKcmyk(5.6%, 65.3%, 0%, 51.4%)
CIE-LABlab(31.73, 43.97, -30.99)
CIE-LCHlch(31.73, 53.80, 324.82°)
OKLaboklab(43.03% 0.1192 -0.086)
OKLCHoklch(43.03% 0.147 324.2)
XYZxyz(11.8378, 6.9656, 19.7858)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B7C #327C2B
analogous
#4D2B7C #752B7C #7C2B5A
triadic
#752B7C #7C752B #2B7C75
tetradic
#752B7C #7C4D2B #327C2B #2B5A7C
square
#752B7C #7C4D2B #327C2B #2B5A7C
split-complementary
#752B7C #5A7C2B #2B7C4D
monochromatic
#1F0B21 #4A1B4F #752B7C #A03BA9 #BD5BC6

Accessibility & contrast

On white

8.78
#752B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#752B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B7C
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B7C#FFFFFF#000000##FFFFFF
##752B7C1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457E
Deuteranopia (green-blind)
#384E7A
Tritanopia (blue-blind)
#77374F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752b7c;
/* rgb */ color: rgb(117, 43, 124);
/* oklch */ color: oklch(43.0% 0.147 324.2);
Tailwind
colors: {
  custom: {
    50: '#9f6aa2',
    500: '#752b7c',
    950: '#000000',
  },
}
SCSS
$custom: #752b7c;
$custom-light: #9f6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#752b7c",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 294.815,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43027,
    "c": 0.14697,
    "h": 324.2
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#752B7C
secondary
#5EAC57
accent
#D8505C
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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