#752F94#752F94

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

Color values

HEX#752F94
RGBrgb(117, 47, 148)
HSLhsl(282, 52%, 38%)
HSVhsv(282, 68%, 58%)
CMYKcmyk(20.9%, 68.2%, 0%, 42%)
CIE-LABlab(33.89, 47.11, -42.41)
CIE-LCHlch(33.89, 63.39, 318.01°)
OKLaboklab(45.06% 0.1139 -0.1194)
OKLCHoklch(45.06% 0.165 313.6)
XYZxyz(13.6970, 7.9535, 28.8249)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F94 #4E942F
analogous
#422F94 #752F94 #942F80
triadic
#752F94 #94752F #2F9475
tetradic
#752F94 #94422F #4E942F #2F8094
square
#752F94 #94422F #4E942F #2F8094
split-complementary
#752F94 #80942F #2F9442
monochromatic
#2C1137 #502066 #752F94 #993EC2 #B26DD1

Accessibility & contrast

On white

8.11
#752F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752F94
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F94#FFFFFF#000000##FFFFFF
##752F941.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#295192
Tritanopia (blue-blind)
#72435D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752f94;
/* rgb */ color: rgb(117, 47, 148);
/* oklch */ color: oklch(45.1% 0.165 313.6);
Tailwind
colors: {
  custom: {
    50: '#a06db4',
    500: '#752f94',
    950: '#000000',
  },
}
SCSS
$custom: #752f94;
$custom-light: #a06db4;
$custom-dark: #000000;
JSON
{
  "hex": "#752f94",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 281.584,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.16501,
    "h": 313.6
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#752F94
secondary
#80B867
accent
#DB4D78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752F94

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

Preview Lab → · Contrast checker → · Palette generator →

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