#752AB4#752AB4

#752AB4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.203 H 304.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#752AB4
RGBrgb(117, 42, 180)
HSLhsl(273, 62%, 44%)
HSVhsv(273, 77%, 71%)
CMYKcmyk(35%, 76.7%, 0%, 29.4%)
CIE-LABlab(35.47, 56.53, -59.12)
CIE-LCHlch(35.47, 81.80, 313.71°)
OKLaboklab(46.92% 0.1139 -0.1685)
OKLCHoklch(46.92% 0.203 304.1)
XYZxyz(16.4004, 8.7332, 43.9928)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AB4 #69B42A
analogous
#302AB4 #752AB4 #B42AAE
triadic
#752AB4 #B4752A #2AB475
tetradic
#752AB4 #B4302A #69B42A #2AAEB4
square
#752AB4 #B4302A #69B42A #2AAEB4
split-complementary
#752AB4 #AEB42A #2AB430
monochromatic
#341351 #551E82 #752AB4 #9447D4 #B179E0

Accessibility & contrast

On white

7.65
#752AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752AB4
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AB4#FFFFFF#000000##FFFFFF
##752AB41.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#694D6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752ab4;
/* rgb */ color: rgb(117, 42, 180);
/* oklch */ color: oklch(46.9% 0.203 304.1);
Tailwind
colors: {
  custom: {
    50: '#a36ccb',
    500: '#752ab4',
    950: '#000000',
  },
}
SCSS
$custom: #752ab4;
$custom-light: #a36ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#752ab4",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 272.609,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46922,
    "c": 0.20339,
    "h": 304.1
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#752AB4
secondary
#99C872
accent
#E5438D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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