#752F97#752F97

#752F97 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.168 H 312.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#752F97
RGBrgb(117, 47, 151)
HSLhsl(280, 53%, 39%)
HSVhsv(280, 69%, 59%)
CMYKcmyk(22.5%, 68.9%, 0%, 40.8%)
CIE-LABlab(34.09, 47.78, -43.92)
CIE-LCHlch(34.09, 64.90, 317.41°)
OKLaboklab(45.27% 0.1137 -0.1238)
OKLCHoklch(45.27% 0.168 312.5)
XYZxyz(13.9375, 8.0497, 30.0917)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F97 #51972F
analogous
#412F97 #752F97 #972F85
triadic
#752F97 #97752F #2F9775
tetradic
#752F97 #97412F #51972F #2F8597
square
#752F97 #97412F #51972F #2F8597
split-complementary
#752F97 #85972F #2F9741
monochromatic
#2D123A #512068 #752F97 #9840C3 #B16ED2

Accessibility & contrast

On white

8.05
#752F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#752F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F97
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F97#FFFFFF#000000##FFFFFF
##752F971.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#71445F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752f97;
/* rgb */ color: rgb(117, 47, 151);
/* oklch */ color: oklch(45.3% 0.168 312.5);
Tailwind
colors: {
  custom: {
    50: '#a06db6',
    500: '#752f97',
    950: '#000000',
  },
}
SCSS
$custom: #752f97;
$custom-light: #a06db6;
$custom-dark: #000000;
JSON
{
  "hex": "#752f97",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 280.385,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4527,
    "c": 0.16809,
    "h": 312.5
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#752F97
secondary
#83B968
accent
#DC4C7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752F97

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

Preview Lab → · Contrast checker → · Palette generator →

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