#752797#752797

#752797 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.178 H 313.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#752797
RGBrgb(117, 39, 151)
HSLhsl(282, 59%, 37%)
HSVhsv(282, 74%, 59%)
CMYKcmyk(22.5%, 74.2%, 0%, 40.8%)
CIE-LABlab(32.85, 51.26, -45.91)
CIE-LCHlch(32.85, 68.82, 318.15°)
OKLaboklab(44.39% 0.1223 -0.1296)
OKLCHoklch(44.39% 0.178 313.3)
XYZxyz(13.6466, 7.4677, 29.9947)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752797 #499727
analogous
#3D2797 #752797 #972781
triadic
#752797 #977527 #279775
tetradic
#752797 #973D27 #499727 #278197
square
#752797 #973D27 #499727 #278197
split-complementary
#752797 #819727 #27973D
monochromatic
#2A0E36 #4F1A66 #752797 #9B34C8 #B362D6

Accessibility & contrast

On white

8.42
#752797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#752797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752797
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752797#FFFFFF#000000##FFFFFF
##7527971.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#1D4F95
Tritanopia (blue-blind)
#71405D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752797;
/* rgb */ color: rgb(117, 39, 151);
/* oklch */ color: oklch(44.4% 0.178 313.3);
Tailwind
colors: {
  custom: {
    50: '#a169b6',
    500: '#752797',
    950: '#000000',
  },
}
SCSS
$custom: #752797;
$custom-light: #a169b6;
$custom-dark: #000000;
JSON
{
  "hex": "#752797",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 281.786,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44387,
    "c": 0.17822,
    "h": 313.3
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#752797
secondary
#7ABC5E
accent
#E24675
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752797

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

Preview Lab → · Contrast checker → · Palette generator →

#752797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva