#752CA5#752CA5

#752CA5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.186 H 308.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#752CA5
RGBrgb(117, 44, 165)
HSLhsl(276, 58%, 41%)
HSVhsv(276, 73%, 65%)
CMYKcmyk(29.1%, 73.3%, 0%, 35.3%)
CIE-LABlab(34.60, 52.26, -51.57)
CIE-LCHlch(34.60, 73.42, 315.38°)
OKLaboklab(45.95% 0.1151 -0.1463)
OKLCHoklch(45.95% 0.186 308.2)
XYZxyz(15.0269, 8.3001, 36.4005)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CA5 #5CA52C
analogous
#382CA5 #752CA5 #A52C98
triadic
#752CA5 #A5752C #2CA575
tetradic
#752CA5 #A5382C #5CA52C #2C98A5
square
#752CA5 #A5382C #5CA52C #2C98A5
split-complementary
#752CA5 #98A52C #2CA538
monochromatic
#301244 #531F75 #752CA5 #9542CD #B072D9

Accessibility & contrast

On white

7.89
#752CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#752CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CA5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CA5#FFFFFF#000000##FFFFFF
##752CA51.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0452A2
Tritanopia (blue-blind)
#6D4866
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752ca5;
/* rgb */ color: rgb(117, 44, 165);
/* oklch */ color: oklch(46.0% 0.186 308.2);
Tailwind
colors: {
  custom: {
    50: '#a16cc0',
    500: '#752ca5',
    950: '#000000',
  },
}
SCSS
$custom: #752ca5;
$custom-light: #a16cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#752ca5",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 276.198,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4595,
    "c": 0.18614,
    "h": 308.2
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#752CA5
secondary
#8EC16C
accent
#E14784
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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