#752AB7#752AB7

#752AB7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.206 H 303.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#752AB7
RGBrgb(117, 42, 183)
HSLhsl(272, 63%, 44%)
HSVhsv(272, 77%, 72%)
CMYKcmyk(36.1%, 77%, 0%, 28.2%)
CIE-LABlab(35.71, 57.22, -60.51)
CIE-LCHlch(35.71, 83.28, 313.40°)
OKLaboklab(47.17% 0.1132 -0.1725)
OKLCHoklch(47.17% 0.206 303.3)
XYZxyz(16.7093, 8.8567, 45.6198)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AB7 #6CB72A
analogous
#2F2AB7 #752AB7 #B72AB3
triadic
#752AB7 #B7752A #2AB775
tetradic
#752AB7 #B72F2A #6CB72A #2AB3B7
square
#752AB7 #B72F2A #6CB72A #2AB3B7
split-complementary
#752AB7 #B3B72A #2AB72F
monochromatic
#351353 #551F85 #752AB7 #9449D5 #B17BE1

Accessibility & contrast

On white

7.58
#752AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#752AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AB7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AB7#FFFFFF#000000##FFFFFF
##752AB71.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#674F70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752ab7;
/* rgb */ color: rgb(117, 42, 183);
/* oklch */ color: oklch(47.2% 0.206 303.3);
Tailwind
colors: {
  custom: {
    50: '#a36cce',
    500: '#752ab7',
    950: '#000000',
  },
}
SCSS
$custom: #752ab7;
$custom-light: #a36cce;
$custom-dark: #000000;
JSON
{
  "hex": "#752ab7",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 271.915,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47167,
    "c": 0.20637,
    "h": 303.3
  },
  "luminance": 0.08857
}

Semantic roles & 50–950 ramp

primary
#752AB7
secondary
#9CC974
accent
#E6428F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #752AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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