#752CA7#752CA7

#752CA7 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.188 H 307.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#752CA7
RGBrgb(117, 44, 167)
HSLhsl(276, 58%, 41%)
HSVhsv(276, 74%, 65%)
CMYKcmyk(29.9%, 73.7%, 0%, 34.5%)
CIE-LABlab(34.75, 52.71, -52.53)
CIE-LCHlch(34.75, 74.42, 315.10°)
OKLaboklab(46.1% 0.1148 -0.1491)
OKLCHoklch(46.1% 0.188 307.6)
XYZxyz(15.2104, 8.3735, 37.3667)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CA7 #5EA72C
analogous
#382CA7 #752CA7 #A72C9C
triadic
#752CA7 #A7752C #2CA775
tetradic
#752CA7 #A7382C #5EA72C #2C9CA7
square
#752CA7 #A7382C #5EA72C #2C9CA7
split-complementary
#752CA7 #9CA72C #2CA738
monochromatic
#311246 #531F77 #752CA7 #9543CD #B073DA

Accessibility & contrast

On white

7.85
#752CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752CA7
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CA7#FFFFFF#000000##FFFFFF
##752CA71.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#6D4967
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752ca7;
/* rgb */ color: rgb(117, 44, 167);
/* oklch */ color: oklch(46.1% 0.188 307.6);
Tailwind
colors: {
  custom: {
    50: '#a16cc2',
    500: '#752ca7',
    950: '#000000',
  },
}
SCSS
$custom: #752ca7;
$custom-light: #a16cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#752ca7",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 275.61,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46102,
    "c": 0.18816,
    "h": 307.6
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#752CA7
secondary
#8FC26D
accent
#E24685
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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