#752BA9#752BA9

#752BA9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.191 H 307.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#752BA9
RGBrgb(117, 43, 169)
HSLhsl(275, 59%, 42%)
HSVhsv(275, 75%, 66%)
CMYKcmyk(30.8%, 74.6%, 0%, 33.7%)
CIE-LABlab(34.75, 53.59, -53.72)
CIE-LCHlch(34.75, 75.88, 314.93°)
OKLaboklab(46.15% 0.1154 -0.1526)
OKLCHoklch(46.15% 0.191 307.1)
XYZxyz(15.3599, 8.3744, 38.3357)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BA9 #5FA92B
analogous
#362BA9 #752BA9 #A92B9E
triadic
#752BA9 #A9752B #2BA975
tetradic
#752BA9 #A9362B #5FA92B #2B9EA9
square
#752BA9 #A9362B #5FA92B #2B9EA9
split-complementary
#752BA9 #9EA92B #2BA936
monochromatic
#311247 #531F78 #752BA9 #9542CF #B073DB

Accessibility & contrast

On white

7.85
#752BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#752BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BA9
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BA9#FFFFFF#000000##FFFFFF
##752BA91.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752ba9;
/* rgb */ color: rgb(117, 43, 169);
/* oklch */ color: oklch(46.2% 0.191 307.1);
Tailwind
colors: {
  custom: {
    50: '#a26cc3',
    500: '#752ba9',
    950: '#000000',
  },
}
SCSS
$custom: #752ba9;
$custom-light: #a26cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#752ba9",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 275.238,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46151,
    "c": 0.19132,
    "h": 307.1
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#752BA9
secondary
#90C36D
accent
#E34586
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #752BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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