#752897#752897

#752897 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.177 H 313.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#752897
RGBrgb(117, 40, 151)
HSLhsl(282, 58%, 37%)
HSVhsv(282, 74%, 59%)
CMYKcmyk(22.5%, 73.5%, 0%, 40.8%)
CIE-LABlab(32.99, 50.85, -45.68)
CIE-LCHlch(32.99, 68.35, 318.07°)
OKLaboklab(44.49% 0.1213 -0.129)
OKLCHoklch(44.49% 0.177 313.2)
XYZxyz(13.6798, 7.5343, 30.0058)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752897 #4A9728
analogous
#3E2897 #752897 #972881
triadic
#752897 #977528 #289775
tetradic
#752897 #973E28 #4A9728 #288197
square
#752897 #973E28 #4A9728 #288197
split-complementary
#752897 #819728 #28973E
monochromatic
#2A0E36 #501B67 #752897 #9A35C7 #B364D6

Accessibility & contrast

On white

8.38
#752897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#752897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752897
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752897#FFFFFF#000000##FFFFFF
##7528971.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#1E4F95
Tritanopia (blue-blind)
#71405D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752897;
/* rgb */ color: rgb(117, 40, 151);
/* oklch */ color: oklch(44.5% 0.177 313.2);
Tailwind
colors: {
  custom: {
    50: '#a16ab6',
    500: '#752897',
    950: '#000000',
  },
}
SCSS
$custom: #752897;
$custom-light: #a16ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#752897",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 281.622,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4449,
    "c": 0.17703,
    "h": 313.2
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#752897
secondary
#7BBC5F
accent
#E14676
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752897

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

Preview Lab → · Contrast checker → · Palette generator →

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