#752CA6#752CA6

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

Color values

HEX#752CA6
RGBrgb(117, 44, 166)
HSLhsl(276, 58%, 41%)
HSVhsv(276, 73%, 65%)
CMYKcmyk(29.5%, 73.5%, 0%, 34.9%)
CIE-LABlab(34.67, 52.49, -52.05)
CIE-LCHlch(34.67, 73.92, 315.24°)
OKLaboklab(46.03% 0.1149 -0.1477)
OKLCHoklch(46.03% 0.187 307.9)
XYZxyz(15.1183, 8.3367, 36.8817)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CA6 #5DA62C
analogous
#382CA6 #752CA6 #A62C9A
triadic
#752CA6 #A6752C #2CA675
tetradic
#752CA6 #A6382C #5DA62C #2C9AA6
square
#752CA6 #A6382C #5DA62C #2C9AA6
split-complementary
#752CA6 #9AA62C #2CA638
monochromatic
#311245 #531F76 #752CA6 #9542CD #B073DA

Accessibility & contrast

On white

7.87
#752CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#752CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CA6
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CA6#FFFFFF#000000##FFFFFF
##752CA61.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#6D4966
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752ca6;
/* rgb */ color: rgb(117, 44, 166);
/* oklch */ color: oklch(46.0% 0.187 307.9);
Tailwind
colors: {
  custom: {
    50: '#a16cc1',
    500: '#752ca6',
    950: '#000000',
  },
}
SCSS
$custom: #752ca6;
$custom-light: #a16cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#752ca6",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 275.902,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46026,
    "c": 0.18715,
    "h": 307.9
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#752CA6
secondary
#8FC16D
accent
#E14685
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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