#752AB1#752AB1

#752AB1 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.200 H 304.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#752AB1
RGBrgb(117, 42, 177)
HSLhsl(273, 62%, 43%)
HSVhsv(273, 76%, 69%)
CMYKcmyk(33.9%, 76.3%, 0%, 30.6%)
CIE-LABlab(35.23, 55.84, -57.73)
CIE-LCHlch(35.23, 80.31, 314.05°)
OKLaboklab(46.68% 0.1146 -0.1644)
OKLCHoklch(46.68% 0.2 304.9)
XYZxyz(16.0981, 8.6122, 42.4007)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AB1 #66B12A
analogous
#312AB1 #752AB1 #B12AAA
triadic
#752AB1 #B1752A #2AB175
tetradic
#752AB1 #B1312A #66B12A #2AAAB1
square
#752AB1 #B1312A #66B12A #2AAAB1
split-complementary
#752AB1 #AAB12A #2AB131
monochromatic
#34134E #541E80 #752AB1 #9445D3 #B077DF

Accessibility & contrast

On white

7.71
#752AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#752AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AB1
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AB1#FFFFFF#000000##FFFFFF
##752AB11.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#6A4C6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752ab1;
/* rgb */ color: rgb(117, 42, 177);
/* oklch */ color: oklch(46.7% 0.200 304.9);
Tailwind
colors: {
  custom: {
    50: '#a26cc9',
    500: '#752ab1',
    950: '#000000',
  },
}
SCSS
$custom: #752ab1;
$custom-light: #a26cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#752ab1",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 273.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4668,
    "c": 0.2004,
    "h": 304.9
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#752AB1
secondary
#97C670
accent
#E5438B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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