#752AA4#752AA4

#752AA4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.187 H 308.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#752AA4
RGBrgb(117, 42, 164)
HSLhsl(277, 59%, 40%)
HSVhsv(277, 74%, 64%)
CMYKcmyk(28.7%, 74.4%, 0%, 35.7%)
CIE-LABlab(34.23, 52.88, -51.57)
CIE-LCHlch(34.23, 73.86, 315.72°)
OKLaboklab(45.66% 0.1173 -0.1463)
OKLCHoklch(45.66% 0.187 308.7)
XYZxyz(14.8636, 8.1184, 35.8988)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AA4 #59A42A
analogous
#382AA4 #752AA4 #A42A96
triadic
#752AA4 #A4752A #2AA475
tetradic
#752AA4 #A4382A #59A42A #2A96A4
square
#752AA4 #A4382A #59A42A #2A96A4
split-complementary
#752AA4 #96A42A #2AA438
monochromatic
#2F1143 #521E73 #752AA4 #963ECD #B16EDA

Accessibility & contrast

On white

8.00
#752AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#752AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AA4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AA4#FFFFFF#000000##FFFFFF
##752AA41.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0251A1
Tritanopia (blue-blind)
#6E4765
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752aa4;
/* rgb */ color: rgb(117, 42, 164);
/* oklch */ color: oklch(45.7% 0.187 308.7);
Tailwind
colors: {
  custom: {
    50: '#a16bc0',
    500: '#752aa4',
    950: '#000000',
  },
}
SCSS
$custom: #752aa4;
$custom-light: #a16bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#752aa4",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 276.885,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45663,
    "c": 0.18747,
    "h": 308.7
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#752AA4
secondary
#8BC169
accent
#E24582
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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