#752F8E#752F8E

#752F8E is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.159 H 315.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#752F8E
RGBrgb(117, 47, 142)
HSLhsl(284, 50%, 37%)
HSVhsv(284, 67%, 56%)
CMYKcmyk(17.6%, 66.9%, 0%, 44.3%)
CIE-LABlab(33.50, 45.81, -39.36)
CIE-LCHlch(33.50, 60.40, 319.33°)
OKLaboklab(44.66% 0.1142 -0.1105)
OKLCHoklch(44.66% 0.159 315.9)
XYZxyz(13.2344, 7.7684, 26.3883)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F8E #488E2F
analogous
#462F8E #752F8E #8E2F78
triadic
#752F8E #8E752F #2F8E75
tetradic
#752F8E #8E462F #488E2F #2F788E
square
#752F8E #8E462F #488E2F #2F788E
split-complementary
#752F8E #788E2F #2F8E46
monochromatic
#291132 #4F2060 #752F8E #9B3EBC #B36ACE

Accessibility & contrast

On white

8.22
#752F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#752F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F8E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F8E#FFFFFF#000000##FFFFFF
##752F8E1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054B91
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#73415A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752f8e;
/* rgb */ color: rgb(117, 47, 142);
/* oklch */ color: oklch(44.7% 0.159 315.9);
Tailwind
colors: {
  custom: {
    50: '#a06daf',
    500: '#752f8e',
    950: '#000000',
  },
}
SCSS
$custom: #752f8e;
$custom-light: #a06daf;
$custom-dark: #000000;
JSON
{
  "hex": "#752f8e",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 284.211,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44656,
    "c": 0.15888,
    "h": 315.9
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#752F8E
secondary
#79B564
accent
#DA4E73
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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