#752FA6#752FA6

#752FA6 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.184 H 307.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#752FA6
RGBrgb(117, 47, 166)
HSLhsl(275, 56%, 42%)
HSVhsv(275, 72%, 65%)
CMYKcmyk(29.5%, 71.7%, 0%, 34.9%)
CIE-LABlab(35.14, 51.17, -51.29)
CIE-LCHlch(35.14, 72.45, 314.93°)
OKLaboklab(46.36% 0.1119 -0.1455)
OKLCHoklch(46.36% 0.184 307.6)
XYZxyz(15.2341, 8.5683, 36.9203)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FA6 #60A62F
analogous
#392FA6 #752FA6 #A62F9C
triadic
#752FA6 #A6752F #2FA675
tetradic
#752FA6 #A6392F #60A62F #2F9CA6
square
#752FA6 #A6392F #60A62F #2F9CA6
split-complementary
#752FA6 #9CA62F #2FA639
monochromatic
#321447 #532176 #752FA6 #9547CB #B077D8

Accessibility & contrast

On white

7.74
#752FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#752FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FA6
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FA6#FFFFFF#000000##FFFFFF
##752FA61.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0953A3
Tritanopia (blue-blind)
#6D4A67
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752fa6;
/* rgb */ color: rgb(117, 47, 166);
/* oklch */ color: oklch(46.4% 0.184 307.6);
Tailwind
colors: {
  custom: {
    50: '#a16ec1',
    500: '#752fa6',
    950: '#000000',
  },
}
SCSS
$custom: #752fa6;
$custom-light: #a16ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#752fa6",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 275.294,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46356,
    "c": 0.18354,
    "h": 307.6
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#752FA6
secondary
#91C170
accent
#DF4987
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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