#752BAE#752BAE

#752BAE is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.196 H 305.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#752BAE
RGBrgb(117, 43, 174)
HSLhsl(274, 60%, 43%)
HSVhsv(274, 75%, 68%)
CMYKcmyk(32.8%, 75.3%, 0%, 31.8%)
CIE-LABlab(35.13, 54.74, -56.09)
CIE-LCHlch(35.13, 78.37, 314.30°)
OKLaboklab(46.54% 0.1144 -0.1596)
OKLCHoklch(46.54% 0.196 305.6)
XYZxyz(15.8383, 8.5658, 40.8552)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BAE #64AE2B
analogous
#332BAE #752BAE #AE2BA6
triadic
#752BAE #AE752B #2BAE75
tetradic
#752BAE #AE332B #64AE2B #2BA6AE
square
#752BAE #AE332B #64AE2B #2BA6AE
split-complementary
#752BAE #A6AE2B #2BAE33
monochromatic
#33134C #541F7D #752BAE #9445D1 #B076DD

Accessibility & contrast

On white

7.74
#752BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#752BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BAE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BAE#FFFFFF#000000##FFFFFF
##752BAE1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752bae;
/* rgb */ color: rgb(117, 43, 174);
/* oklch */ color: oklch(46.5% 0.196 305.6);
Tailwind
colors: {
  custom: {
    50: '#a26cc7',
    500: '#752bae',
    950: '#000000',
  },
}
SCSS
$custom: #752bae;
$custom-light: #a26cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#752bae",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 273.893,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46542,
    "c": 0.19633,
    "h": 305.6
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

primary
#752BAE
secondary
#95C570
accent
#E4448A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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