#752B7B#752B7B

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

Color values

HEX#752B7B
RGBrgb(117, 43, 123)
HSLhsl(296, 48%, 33%)
HSVhsv(296, 65%, 48%)
CMYKcmyk(4.9%, 65%, 0%, 51.8%)
CIE-LABlab(31.67, 43.78, -30.46)
CIE-LCHlch(31.67, 53.33, 325.17°)
OKLaboklab(42.97% 0.1191 -0.0845)
OKLCHoklch(42.97% 0.146 324.7)
XYZxyz(11.7749, 6.9404, 19.4545)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B7B #317B2B
analogous
#4D2B7B #752B7B #7B2B59
triadic
#752B7B #7B752B #2B7B75
tetradic
#752B7B #7B4D2B #317B2B #2B597B
square
#752B7B #7B4D2B #317B2B #2B597B
split-complementary
#752B7B #597B2B #2B7B4D
monochromatic
#1F0B20 #4A1B4E #752B7B #A03BA8 #BE5BC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752B7B#FFFFFF#000000##FFFFFF
##752B7B1.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)
#1C457D
Deuteranopia (green-blind)
#394E79
Tritanopia (blue-blind)
#77374F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752b7b;
/* rgb */ color: rgb(117, 43, 123);
/* oklch */ color: oklch(43.0% 0.146 324.7);
Tailwind
colors: {
  custom: {
    50: '#9f6aa1',
    500: '#752b7b',
    950: '#000000',
  },
}
SCSS
$custom: #752b7b;
$custom-light: #9f6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#752b7b",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 295.5,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42966,
    "c": 0.14603,
    "h": 324.7
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#752B7B
secondary
#5DAB56
accent
#D8505A
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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