#752EA9#752EA9

#752EA9 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.188 H 306.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#752EA9
RGBrgb(117, 46, 169)
HSLhsl(275, 57%, 42%)
HSVhsv(275, 73%, 66%)
CMYKcmyk(30.8%, 72.8%, 0%, 33.7%)
CIE-LABlab(35.20, 52.31, -52.99)
CIE-LCHlch(35.20, 74.46, 314.63°)
OKLaboklab(46.47% 0.1124 -0.1505)
OKLCHoklch(46.47% 0.188 306.8)
XYZxyz(15.4730, 8.6006, 38.3734)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EA9 #62A92E
analogous
#382EA9 #752EA9 #A92EA0
triadic
#752EA9 #A9752E #2EA975
tetradic
#752EA9 #A9382E #62A92E #2EA0A9
square
#752EA9 #A9382E #62A92E #2EA0A9
split-complementary
#752EA9 #A0A92E #2EA938
monochromatic
#321449 #542179 #752EA9 #9447CD #B077DA

Accessibility & contrast

On white

7.72
#752EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#752EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EA9
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EA9#FFFFFF#000000##FFFFFF
##752EA91.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#6C4B69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752ea9;
/* rgb */ color: rgb(117, 46, 169);
/* oklch */ color: oklch(46.5% 0.188 306.8);
Tailwind
colors: {
  custom: {
    50: '#a16dc3',
    500: '#752ea9',
    950: '#000000',
  },
}
SCSS
$custom: #752ea9;
$custom-light: #a16dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#752ea9",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 274.634,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46471,
    "c": 0.18784,
    "h": 306.8
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#752EA9
secondary
#93C271
accent
#E04788
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #752EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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