#752A9F#752A9F

#752A9F is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.182 H 310.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#752A9F
RGBrgb(117, 42, 159)
HSLhsl(278, 58%, 39%)
HSVhsv(278, 74%, 62%)
CMYKcmyk(26.4%, 73.6%, 0%, 37.6%)
CIE-LABlab(33.86, 51.76, -49.14)
CIE-LCHlch(33.86, 71.37, 316.49°)
OKLaboklab(45.29% 0.1181 -0.1391)
OKLCHoklch(45.29% 0.183 310.3)
XYZxyz(14.4209, 7.9414, 33.5673)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A9F #549F2A
analogous
#3B2A9F #752A9F #9F2A8E
triadic
#752A9F #9F752A #2A9F75
tetradic
#752A9F #9F3B2A #549F2A #2A8E9F
square
#752A9F #9F3B2A #549F2A #2A8E9F
split-complementary
#752A9F #8E9F2A #2A9F3B
monochromatic
#2E103E #511D6F #752A9F #973BCB #B16BD8

Accessibility & contrast

On white

8.11
#752A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#752A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A9F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A9F#FFFFFF#000000##FFFFFF
##752A9F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#12519D
Tritanopia (blue-blind)
#6F4562
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752a9f;
/* rgb */ color: rgb(117, 42, 159);
/* oklch */ color: oklch(45.3% 0.182 310.3);
Tailwind
colors: {
  custom: {
    50: '#a16bbc',
    500: '#752a9f',
    950: '#000000',
  },
}
SCSS
$custom: #752a9f;
$custom-light: #a16bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#752a9f",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 278.462,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45286,
    "c": 0.1825,
    "h": 310.3
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#752A9F
secondary
#86BF66
accent
#E1467E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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