#752E95#752E95

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

Color values

HEX#752E95
RGBrgb(117, 46, 149)
HSLhsl(281, 53%, 38%)
HSVhsv(281, 69%, 58%)
CMYKcmyk(21.5%, 69.1%, 0%, 41.6%)
CIE-LABlab(33.79, 47.80, -43.18)
CIE-LCHlch(33.79, 64.41, 317.90°)
OKLaboklab(45.01% 0.115 -0.1217)
OKLCHoklch(45.01% 0.167 313.4)
XYZxyz(13.7370, 7.9062, 29.2304)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E95 #4E952E
analogous
#412E95 #752E95 #952E81
triadic
#752E95 #95752E #2E9575
tetradic
#752E95 #95412E #4E952E #2E8195
square
#752E95 #95412E #4E952E #2E8195
split-complementary
#752E95 #81952E #2E9541
monochromatic
#2C1137 #502066 #752E95 #993DC3 #B26CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752E95#FFFFFF#000000##FFFFFF
##752E951.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)
#004C98
Deuteranopia (green-blind)
#275193
Tritanopia (blue-blind)
#72435E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752e95;
/* rgb */ color: rgb(117, 46, 149);
/* oklch */ color: oklch(45.0% 0.167 313.4);
Tailwind
colors: {
  custom: {
    50: '#a06db5',
    500: '#752e95',
    950: '#000000',
  },
}
SCSS
$custom: #752e95;
$custom-light: #a06db5;
$custom-dark: #000000;
JSON
{
  "hex": "#752e95",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 281.359,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45012,
    "c": 0.16739,
    "h": 313.4
  },
  "luminance": 0.07906
}

Semantic roles & 50–950 ramp

primary
#752E95
secondary
#80B966
accent
#DC4C79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752E95

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

Preview Lab → · Contrast checker → · Palette generator →

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