#752D97#752D97

#752D97 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.171 H 312.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#752D97
RGBrgb(117, 45, 151)
HSLhsl(281, 54%, 38%)
HSVhsv(281, 70%, 59%)
CMYKcmyk(22.5%, 70.2%, 0%, 40.8%)
CIE-LABlab(33.76, 48.69, -44.44)
CIE-LCHlch(33.76, 65.92, 317.61°)
OKLaboklab(45.04% 0.1159 -0.1254)
OKLCHoklch(45.04% 0.171 312.8)
XYZxyz(13.8594, 7.8934, 30.0657)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D97 #4F972D
analogous
#402D97 #752D97 #972D84
triadic
#752D97 #97752D #2D9775
tetradic
#752D97 #97402D #4F972D #2D8497
square
#752D97 #97402D #4F972D #2D8497
split-complementary
#752D97 #84972D #2D9740
monochromatic
#2C1139 #501F68 #752D97 #993CC5 #B26BD3

Accessibility & contrast

On white

8.14
#752D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#752D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D97
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D97#FFFFFF#000000##FFFFFF
##752D971.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#245195
Tritanopia (blue-blind)
#71435E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752d97;
/* rgb */ color: rgb(117, 45, 151);
/* oklch */ color: oklch(45.0% 0.171 312.8);
Tailwind
colors: {
  custom: {
    50: '#a06cb6',
    500: '#752d97',
    950: '#000000',
  },
}
SCSS
$custom: #752d97;
$custom-light: #a06cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#752d97",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 280.755,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45036,
    "c": 0.17075,
    "h": 312.8
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#752D97
secondary
#81BA66
accent
#DD4A7A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752D97

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

Preview Lab → · Contrast checker → · Palette generator →

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