#752E97#752E97

#752E97 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.169 H 312.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#752E97
RGBrgb(117, 46, 151)
HSLhsl(281, 53%, 39%)
HSVhsv(281, 70%, 59%)
CMYKcmyk(22.5%, 69.5%, 0%, 40.8%)
CIE-LABlab(33.92, 48.24, -44.18)
CIE-LCHlch(33.92, 65.41, 317.51°)
OKLaboklab(45.15% 0.1148 -0.1246)
OKLCHoklch(45.15% 0.169 312.7)
XYZxyz(13.8980, 7.9707, 30.0785)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E97 #50972E
analogous
#402E97 #752E97 #972E84
triadic
#752E97 #97752E #2E9775
tetradic
#752E97 #97402E #50972E #2E8497
square
#752E97 #97402E #50972E #2E8497
split-complementary
#752E97 #84972E #2E9740
monochromatic
#2C1139 #512068 #752E97 #993EC4 #B26DD2

Accessibility & contrast

On white

8.10
#752E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#752E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E97
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E97#FFFFFF#000000##FFFFFF
##752E971.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752e97;
/* rgb */ color: rgb(117, 46, 151);
/* oklch */ color: oklch(45.2% 0.169 312.7);
Tailwind
colors: {
  custom: {
    50: '#a06db6',
    500: '#752e97',
    950: '#000000',
  },
}
SCSS
$custom: #752e97;
$custom-light: #a06db6;
$custom-dark: #000000;
JSON
{
  "hex": "#752e97",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 280.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45152,
    "c": 0.16942,
    "h": 312.7
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#752E97
secondary
#82BA67
accent
#DD4B7A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752E97

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

Preview Lab → · Contrast checker → · Palette generator →

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