#752CAE#752CAE

#752CAE is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.195 H 305.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#752CAE
RGBrgb(117, 44, 174)
HSLhsl(274, 60%, 43%)
HSVhsv(274, 75%, 68%)
CMYKcmyk(32.8%, 74.7%, 0%, 31.8%)
CIE-LABlab(35.28, 54.32, -55.85)
CIE-LCHlch(35.28, 77.91, 314.20°)
OKLaboklab(46.65% 0.1134 -0.1589)
OKLCHoklch(46.65% 0.195 305.5)
XYZxyz(15.8751, 8.6394, 40.8674)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CAE #65AE2C
analogous
#342CAE #752CAE #AE2CA6
triadic
#752CAE #AE752C #2CAE75
tetradic
#752CAE #AE342C #65AE2C #2CA6AE
square
#752CAE #AE342C #65AE2C #2CA6AE
split-complementary
#752CAE #A6AE2C #2CAE34
monochromatic
#33134C #54207D #752CAE #9447D0 #B078DD

Accessibility & contrast

On white

7.70
#752CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#752CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CAE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CAE#FFFFFF#000000##FFFFFF
##752CAE1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#6B4C6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752cae;
/* rgb */ color: rgb(117, 44, 174);
/* oklch */ color: oklch(46.6% 0.195 305.5);
Tailwind
colors: {
  custom: {
    50: '#a26dc7',
    500: '#752cae',
    950: '#000000',
  },
}
SCSS
$custom: #752cae;
$custom-light: #a26dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#752cae",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 273.692,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46645,
    "c": 0.19522,
    "h": 305.5
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#752CAE
secondary
#96C571
accent
#E3458A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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