#752F95#752F95

#752F95 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.166 H 313.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#752F95
RGBrgb(117, 47, 149)
HSLhsl(281, 52%, 38%)
HSVhsv(281, 68%, 58%)
CMYKcmyk(21.5%, 68.5%, 0%, 41.6%)
CIE-LABlab(33.95, 47.33, -42.91)
CIE-LCHlch(33.95, 63.89, 317.80°)
OKLaboklab(45.13% 0.1138 -0.1209)
OKLCHoklch(45.13% 0.166 313.3)
XYZxyz(13.7765, 7.9853, 29.2435)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F95 #4F952F
analogous
#422F95 #752F95 #952F82
triadic
#752F95 #95752F #2F9575
tetradic
#752F95 #95422F #4F952F #2F8295
square
#752F95 #95422F #4F952F #2F8295
split-complementary
#752F95 #82952F #2F9542
monochromatic
#2C1238 #502066 #752F95 #993FC2 #B26DD1

Accessibility & contrast

On white

8.09
#752F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752F95
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F95#FFFFFF#000000##FFFFFF
##752F951.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#285193
Tritanopia (blue-blind)
#72435E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752f95;
/* rgb */ color: rgb(117, 47, 149);
/* oklch */ color: oklch(45.1% 0.166 313.3);
Tailwind
colors: {
  custom: {
    50: '#a06db5',
    500: '#752f95',
    950: '#000000',
  },
}
SCSS
$custom: #752f95;
$custom-light: #a06db5;
$custom-dark: #000000;
JSON
{
  "hex": "#752f95",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 281.176,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45131,
    "c": 0.16604,
    "h": 313.3
  },
  "luminance": 0.07985
}

Semantic roles & 50–950 ramp

primary
#752F95
secondary
#81B867
accent
#DB4C79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752F95

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

Preview Lab → · Contrast checker → · Palette generator →

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