#752E78#752E78

#752E78 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.139 H 326.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#752E78
RGBrgb(117, 46, 120)
HSLhsl(298, 45%, 33%)
HSVhsv(298, 62%, 47%)
CMYKcmyk(2.5%, 61.7%, 0%, 52.9%)
CIE-LABlab(32.02, 41.78, -28.02)
CIE-LCHlch(32.02, 50.30, 326.15°)
OKLaboklab(43.16% 0.115 -0.0774)
OKLCHoklch(43.16% 0.139 326)
XYZxyz(11.7030, 7.0927, 18.5183)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E78 #31782E
analogous
#502E78 #752E78 #782E56
triadic
#752E78 #78752E #2E7875
tetradic
#752E78 #78502E #31782E #2E5678
square
#752E78 #78502E #31782E #2E5678
split-complementary
#752E78 #56782E #2E7850
monochromatic
#1F0C20 #4A1D4C #752E78 #A03FA4 #BE5FC2

Accessibility & contrast

On white

8.68
#752E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#752E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E78
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E78#FFFFFF#000000##FFFFFF
##752E781.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467A
Deuteranopia (green-blind)
#3D4E76
Tritanopia (blue-blind)
#78384E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752e78;
/* rgb */ color: rgb(117, 46, 120);
/* oklch */ color: oklch(43.2% 0.139 326.0);
Tailwind
colors: {
  custom: {
    50: '#9f6c9f',
    500: '#752e78',
    950: '#000000',
  },
}
SCSS
$custom: #752e78;
$custom-light: #9f6c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#752e78",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 297.568,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43163,
    "c": 0.13862,
    "h": 326
  },
  "luminance": 0.07092
}

Semantic roles & 50–950 ramp

primary
#752E78
secondary
#5DA85A
accent
#D45459
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752E78

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

Preview Lab → · Contrast checker → · Palette generator →

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