#752AA6#752AA6

#752AA6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.189 H 308.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#752AA6
RGBrgb(117, 42, 166)
HSLhsl(276, 60%, 41%)
HSVhsv(276, 75%, 65%)
CMYKcmyk(29.5%, 74.7%, 0%, 34.9%)
CIE-LABlab(34.38, 53.33, -52.53)
CIE-LCHlch(34.38, 74.85, 315.43°)
OKLaboklab(45.82% 0.1169 -0.1491)
OKLCHoklch(45.82% 0.189 308.1)
XYZxyz(15.0456, 8.1912, 36.8575)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AA6 #5BA62A
analogous
#372AA6 #752AA6 #A62A99
triadic
#752AA6 #A6752A #2AA675
tetradic
#752AA6 #A6372A #5BA62A #2A99A6
square
#752AA6 #A6372A #5BA62A #2A99A6
split-complementary
#752AA6 #99A62A #2AA637
monochromatic
#301144 #531E75 #752AA6 #963FCE #B070DB

Accessibility & contrast

On white

7.96
#752AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#752AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AA6
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AA6#FFFFFF#000000##FFFFFF
##752AA61.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#6D4766
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752aa6;
/* rgb */ color: rgb(117, 42, 166);
/* oklch */ color: oklch(45.8% 0.189 308.1);
Tailwind
colors: {
  custom: {
    50: '#a16bc1',
    500: '#752aa6',
    950: '#000000',
  },
}
SCSS
$custom: #752aa6;
$custom-light: #a16bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#752aa6",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 276.29,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45816,
    "c": 0.18946,
    "h": 308.1
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#752AA6
secondary
#8DC26A
accent
#E34583
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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