#752EA4#752EA4

#752EA4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.183 H 308.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#752EA4
RGBrgb(117, 46, 164)
HSLhsl(276, 56%, 41%)
HSVhsv(276, 72%, 64%)
CMYKcmyk(28.7%, 72%, 0%, 35.7%)
CIE-LABlab(34.84, 51.16, -50.58)
CIE-LCHlch(34.84, 71.94, 315.32°)
OKLaboklab(46.09% 0.1132 -0.1434)
OKLCHoklch(46.09% 0.183 308.3)
XYZxyz(15.0126, 8.4165, 35.9484)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EA4 #5DA42E
analogous
#3A2EA4 #752EA4 #A42E98
triadic
#752EA4 #A4752E #2EA475
tetradic
#752EA4 #A43A2E #5DA42E #2E98A4
square
#752EA4 #A43A2E #5DA42E #2E98A4
split-complementary
#752EA4 #98A42E #2EA43A
monochromatic
#311344 #532174 #752EA4 #9545CB #B074D8

Accessibility & contrast

On white

7.83
#752EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#752EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EA4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EA4#FFFFFF#000000##FFFFFF
##752EA41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0E53A1
Tritanopia (blue-blind)
#6E4966
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752ea4;
/* rgb */ color: rgb(117, 46, 164);
/* oklch */ color: oklch(46.1% 0.183 308.3);
Tailwind
colors: {
  custom: {
    50: '#a16dc0',
    500: '#752ea4',
    950: '#000000',
  },
}
SCSS
$custom: #752ea4;
$custom-light: #a16dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#752ea4",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 276.102,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46094,
    "c": 0.18272,
    "h": 308.3
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#752EA4
secondary
#8FC06E
accent
#DF4885
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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