#752AA5#752AA5

#752AA5 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.188 H 308.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#752AA5
RGBrgb(117, 42, 165)
HSLhsl(277, 59%, 41%)
HSVhsv(277, 75%, 65%)
CMYKcmyk(29.1%, 74.5%, 0%, 35.3%)
CIE-LABlab(34.30, 53.10, -52.05)
CIE-LCHlch(34.30, 74.36, 315.58°)
OKLaboklab(45.74% 0.1171 -0.1477)
OKLCHoklch(45.74% 0.188 308.4)
XYZxyz(14.9542, 8.1547, 36.3762)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AA5 #5AA52A
analogous
#372AA5 #752AA5 #A52A97
triadic
#752AA5 #A5752A #2AA575
tetradic
#752AA5 #A5372A #5AA52A #2A97A5
square
#752AA5 #A5372A #5AA52A #2A97A5
split-complementary
#752AA5 #97A52A #2AA537
monochromatic
#301143 #521E74 #752AA5 #963ECE #B06FDA

Accessibility & contrast

On white

7.98
#752AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#752AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AA5
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AA5#FFFFFF#000000##FFFFFF
##752AA51.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#6D4765
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752aa5;
/* rgb */ color: rgb(117, 42, 165);
/* oklch */ color: oklch(45.7% 0.188 308.4);
Tailwind
colors: {
  custom: {
    50: '#a16bc0',
    500: '#752aa5',
    950: '#000000',
  },
}
SCSS
$custom: #752aa5;
$custom-light: #a16bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#752aa5",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 276.585,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45739,
    "c": 0.18846,
    "h": 308.4
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#752AA5
secondary
#8CC169
accent
#E34583
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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