#752AB5#752AB5

#752AB5 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.204 H 303.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#752AB5
RGBrgb(117, 42, 181)
HSLhsl(272, 62%, 44%)
HSVhsv(272, 77%, 71%)
CMYKcmyk(35.4%, 76.8%, 0%, 29%)
CIE-LABlab(35.55, 56.76, -59.58)
CIE-LCHlch(35.55, 82.29, 313.61°)
OKLaboklab(47% 0.1137 -0.1698)
OKLCHoklch(47% 0.204 303.8)
XYZxyz(16.5026, 8.7741, 44.5313)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AB5 #6AB52A
analogous
#2F2AB5 #752AB5 #B52AAF
triadic
#752AB5 #B5752A #2AB575
tetradic
#752AB5 #B52F2A #6AB52A #2AAFB5
square
#752AB5 #B52F2A #6AB52A #2AAFB5
split-complementary
#752AB5 #AFB52A #2AB52F
monochromatic
#351352 #551E83 #752AB5 #9448D4 #B179E0

Accessibility & contrast

On white

7.62
#752AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#752AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AB5
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AB5#FFFFFF#000000##FFFFFF
##752AB51.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#684E6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752ab5;
/* rgb */ color: rgb(117, 42, 181);
/* oklch */ color: oklch(47.0% 0.204 303.8);
Tailwind
colors: {
  custom: {
    50: '#a36ccc',
    500: '#752ab5',
    950: '#000000',
  },
}
SCSS
$custom: #752ab5;
$custom-light: #a36ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#752ab5",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 272.374,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47003,
    "c": 0.20438,
    "h": 303.8
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#752AB5
secondary
#9AC873
accent
#E5428D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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