#752E8E#752E8E

#752E8E is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.160 H 316.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#752E8E
RGBrgb(117, 46, 142)
HSLhsl(284, 51%, 37%)
HSVhsv(284, 68%, 56%)
CMYKcmyk(17.6%, 67.6%, 0%, 44.3%)
CIE-LABlab(33.33, 46.28, -39.63)
CIE-LCHlch(33.33, 60.92, 319.43°)
OKLaboklab(44.54% 0.1154 -0.1113)
OKLCHoklch(44.54% 0.16 316)
XYZxyz(13.1948, 7.6894, 26.3751)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E8E #478E2E
analogous
#452E8E #752E8E #8E2E77
triadic
#752E8E #8E752E #2E8E75
tetradic
#752E8E #8E452E #478E2E #2E778E
square
#752E8E #8E452E #478E2E #2E778E
split-complementary
#752E8E #778E2E #2E8E45
monochromatic
#291032 #4F1F60 #752E8E #9B3DBC #B468CE

Accessibility & contrast

On white

8.27
#752E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#752E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E8E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E8E#FFFFFF#000000##FFFFFF
##752E8E1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014A91
Deuteranopia (green-blind)
#2E508C
Tritanopia (blue-blind)
#73405A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752e8e;
/* rgb */ color: rgb(117, 46, 142);
/* oklch */ color: oklch(44.5% 0.160 316.0);
Tailwind
colors: {
  custom: {
    50: '#a06cb0',
    500: '#752e8e',
    950: '#000000',
  },
}
SCSS
$custom: #752e8e;
$custom-light: #a06cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#752e8e",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 284.375,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44535,
    "c": 0.1603,
    "h": 316
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#752E8E
secondary
#78B563
accent
#DB4D72
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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