#752AB6#752AB6

#752AB6 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.205 H 303.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#752AB6
RGBrgb(117, 42, 182)
HSLhsl(272, 63%, 44%)
HSVhsv(272, 77%, 71%)
CMYKcmyk(35.7%, 76.9%, 0%, 28.6%)
CIE-LABlab(35.63, 56.99, -60.05)
CIE-LCHlch(35.63, 82.79, 313.50°)
OKLaboklab(47.09% 0.1135 -0.1712)
OKLCHoklch(47.09% 0.205 303.5)
XYZxyz(16.6056, 8.8153, 45.0736)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AB6 #6BB62A
analogous
#2F2AB6 #752AB6 #B62AB1
triadic
#752AB6 #B6752A #2AB675
tetradic
#752AB6 #B62F2A #6BB62A #2AB1B6
square
#752AB6 #B62F2A #6BB62A #2AB1B6
split-complementary
#752AB6 #B1B62A #2AB62F
monochromatic
#351353 #551F84 #752AB6 #9448D5 #B17AE0

Accessibility & contrast

On white

7.60
#752AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#752AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AB6
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AB6#FFFFFF#000000##FFFFFF
##752AB61.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#684E6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752ab6;
/* rgb */ color: rgb(117, 42, 182);
/* oklch */ color: oklch(47.1% 0.205 303.5);
Tailwind
colors: {
  custom: {
    50: '#a36ccd',
    500: '#752ab6',
    950: '#000000',
  },
}
SCSS
$custom: #752ab6;
$custom-light: #a36ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#752ab6",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 272.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47085,
    "c": 0.20537,
    "h": 303.5
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#752AB6
secondary
#9BC873
accent
#E6428E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #752AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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