#752CA9#752CA9

#752CA9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.190 H 307.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#752CA9
RGBrgb(117, 44, 169)
HSLhsl(275, 59%, 42%)
HSVhsv(275, 74%, 66%)
CMYKcmyk(30.8%, 74%, 0%, 33.7%)
CIE-LABlab(34.90, 53.17, -53.48)
CIE-LCHlch(34.90, 75.42, 314.83°)
OKLaboklab(46.26% 0.1144 -0.1519)
OKLCHoklch(46.26% 0.19 307)
XYZxyz(15.3967, 8.4480, 38.3479)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CA9 #60A92C
analogous
#372CA9 #752CA9 #A92C9F
triadic
#752CA9 #A9752C #2CA975
tetradic
#752CA9 #A9372C #60A92C #2C9FA9
square
#752CA9 #A9372C #60A92C #2C9FA9
split-complementary
#752CA9 #9FA92C #2CA937
monochromatic
#321348 #531F78 #752CA9 #9544CE #B074DB

Accessibility & contrast

On white

7.81
#752CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#752CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CA9
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CA9#FFFFFF#000000##FFFFFF
##752CA91.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#6C4A68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752ca9;
/* rgb */ color: rgb(117, 44, 169);
/* oklch */ color: oklch(46.3% 0.190 307.0);
Tailwind
colors: {
  custom: {
    50: '#a26cc3',
    500: '#752ca9',
    950: '#000000',
  },
}
SCSS
$custom: #752ca9;
$custom-light: #a26cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#752ca9",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 275.04,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46256,
    "c": 0.19018,
    "h": 307
  },
  "luminance": 0.08448
}

Semantic roles & 50–950 ramp

primary
#752CA9
secondary
#91C36E
accent
#E24687
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #752CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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