#752FA9#752FA9

#752FA9 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.187 H 306.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#752FA9
RGBrgb(117, 47, 169)
HSLhsl(274, 56%, 42%)
HSVhsv(274, 72%, 66%)
CMYKcmyk(30.8%, 72.2%, 0%, 33.7%)
CIE-LABlab(35.36, 51.86, -52.74)
CIE-LCHlch(35.36, 73.97, 314.52°)
OKLaboklab(46.58% 0.1114 -0.1497)
OKLCHoklch(46.58% 0.187 306.7)
XYZxyz(15.5125, 8.6797, 38.3866)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FA9 #63A92F
analogous
#382FA9 #752FA9 #A92FA0
triadic
#752FA9 #A9752F #2FA975
tetradic
#752FA9 #A9382F #63A92F #2FA0A9
square
#752FA9 #A9382F #63A92F #2FA0A9
split-complementary
#752FA9 #A0A92F #2FA938
monochromatic
#331449 #542279 #752FA9 #9449CC #B079DA

Accessibility & contrast

On white

7.68
#752FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#752FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FA9
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FA9#FFFFFF#000000##FFFFFF
##752FA91.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0054A6
Tritanopia (blue-blind)
#6C4B69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752fa9;
/* rgb */ color: rgb(117, 47, 169);
/* oklch */ color: oklch(46.6% 0.187 306.7);
Tailwind
colors: {
  custom: {
    50: '#a16ec3',
    500: '#752fa9',
    950: '#000000',
  },
}
SCSS
$custom: #752fa9;
$custom-light: #a16ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#752fa9",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 274.426,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46582,
    "c": 0.18664,
    "h": 306.7
  },
  "luminance": 0.0868
}

Semantic roles & 50–950 ramp

primary
#752FA9
secondary
#94C272
accent
#E04889
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #752FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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