#752E98#752E98

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

Color values

HEX#752E98
RGBrgb(117, 46, 152)
HSLhsl(280, 54%, 39%)
HSVhsv(280, 70%, 60%)
CMYKcmyk(23%, 69.7%, 0%, 40.4%)
CIE-LABlab(33.99, 48.46, -44.68)
CIE-LCHlch(33.99, 65.91, 317.32°)
OKLaboklab(45.22% 0.1147 -0.1261)
OKLCHoklch(45.22% 0.17 312.3)
XYZxyz(13.9796, 8.0033, 30.5080)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E98 #51982E
analogous
#402E98 #752E98 #982E86
triadic
#752E98 #98752E #2E9875
tetradic
#752E98 #98402E #51982E #2E8698
square
#752E98 #98402E #51982E #2E8698
split-complementary
#752E98 #86982E #2E9840
monochromatic
#2D123A #512069 #752E98 #983EC5 #B16DD3

Accessibility & contrast

On white

8.08
#752E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#752E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E98
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E98#FFFFFF#000000##FFFFFF
##752E981.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752e98;
/* rgb */ color: rgb(117, 46, 152);
/* oklch */ color: oklch(45.2% 0.170 312.3);
Tailwind
colors: {
  custom: {
    50: '#a06db7',
    500: '#752e98',
    950: '#000000',
  },
}
SCSS
$custom: #752e98;
$custom-light: #a06db7;
$custom-dark: #000000;
JSON
{
  "hex": "#752e98",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 280.189,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.17045,
    "h": 312.3
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#752E98
secondary
#83BA68
accent
#DD4B7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752E98

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

Preview Lab → · Contrast checker → · Palette generator →

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