#752AA9#752AA9

#752AA9 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.192 H 307.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#752AA9
RGBrgb(117, 42, 169)
HSLhsl(275, 60%, 41%)
HSVhsv(275, 75%, 66%)
CMYKcmyk(30.8%, 75.1%, 0%, 33.7%)
CIE-LABlab(34.61, 54.01, -53.96)
CIE-LCHlch(34.61, 76.34, 315.02°)
OKLaboklab(46.05% 0.1163 -0.1533)
OKLCHoklch(46.05% 0.192 307.2)
XYZxyz(15.3240, 8.3026, 38.3237)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AA9 #5EA92A
analogous
#362AA9 #752AA9 #A92A9E
triadic
#752AA9 #A9752A #2AA975
tetradic
#752AA9 #A9362A #5EA92A #2A9EA9
square
#752AA9 #A9362A #5EA92A #2A9EA9
split-complementary
#752AA9 #9EA92A #2AA936
monochromatic
#311247 #531E78 #752AA9 #9541D0 #B072DC

Accessibility & contrast

On white

7.89
#752AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#752AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AA9
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AA9#FFFFFF#000000##FFFFFF
##752AA91.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#6C4968
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752aa9;
/* rgb */ color: rgb(117, 42, 169);
/* oklch */ color: oklch(46.0% 0.192 307.2);
Tailwind
colors: {
  custom: {
    50: '#a26bc3',
    500: '#752aa9',
    950: '#000000',
  },
}
SCSS
$custom: #752aa9;
$custom-light: #a26bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#752aa9",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 275.433,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46048,
    "c": 0.19244,
    "h": 307.2
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#752AA9
secondary
#8FC36C
accent
#E34486
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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