#752A7E#752A7E

#752A7E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.150 H 323.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#752A7E
RGBrgb(117, 42, 126)
HSLhsl(294, 50%, 33%)
HSVhsv(294, 67%, 49%)
CMYKcmyk(7.1%, 66.7%, 0%, 50.6%)
CIE-LABlab(31.68, 44.82, -32.32)
CIE-LCHlch(31.68, 55.26, 324.20°)
OKLaboklab(43.03% 0.1205 -0.0899)
OKLCHoklch(43.03% 0.15 323.3)
XYZxyz(11.9296, 6.9449, 20.4467)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A7E #337E2A
analogous
#4B2A7E #752A7E #7E2A5D
triadic
#752A7E #7E752A #2A7E75
tetradic
#752A7E #7E4B2A #337E2A #2A5D7E
square
#752A7E #7E4B2A #337E2A #2A5D7E
split-complementary
#752A7E #5D7E2A #2A7E4B
monochromatic
#200B22 #4A1B50 #752A7E #A039AC #BC5AC8

Accessibility & contrast

On white

8.79
#752A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752A7E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A7E#FFFFFF#000000##FFFFFF
##752A7E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174580
Deuteranopia (green-blind)
#374E7C
Tritanopia (blue-blind)
#773750
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752a7e;
/* rgb */ color: rgb(117, 42, 126);
/* oklch */ color: oklch(43.0% 0.150 323.3);
Tailwind
colors: {
  custom: {
    50: '#9f6aa4',
    500: '#752a7e',
    950: '#000000',
  },
}
SCSS
$custom: #752a7e;
$custom-light: #9f6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#752a7e",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 293.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4303,
    "c": 0.15032,
    "h": 323.3
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#752A7E
secondary
#5FAE56
accent
#DA4E5D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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