#752DA4#752DA4

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

Color values

HEX#752DA4
RGBrgb(117, 45, 164)
HSLhsl(276, 57%, 41%)
HSVhsv(276, 73%, 64%)
CMYKcmyk(28.7%, 72.6%, 0%, 35.7%)
CIE-LABlab(34.68, 51.60, -50.84)
CIE-LCHlch(34.68, 72.43, 315.43°)
OKLaboklab(45.98% 0.1143 -0.1441)
OKLCHoklch(45.98% 0.184 308.4)
XYZxyz(14.9740, 8.3393, 35.9356)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DA4 #5CA42D
analogous
#3A2DA4 #752DA4 #A42D97
triadic
#752DA4 #A4752D #2DA475
tetradic
#752DA4 #A43A2D #5CA42D #2D97A4
square
#752DA4 #A43A2D #5CA42D #2D97A4
split-complementary
#752DA4 #97A42D #2DA43A
monochromatic
#301344 #532074 #752DA4 #9543CB #B073D9

Accessibility & contrast

On white

7.87
#752DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752DA4
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DA4#FFFFFF#000000##FFFFFF
##752DA41.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752da4;
/* rgb */ color: rgb(117, 45, 164);
/* oklch */ color: oklch(46.0% 0.184 308.4);
Tailwind
colors: {
  custom: {
    50: '#a16dc0',
    500: '#752da4',
    950: '#000000',
  },
}
SCSS
$custom: #752da4;
$custom-light: #a16dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#752da4",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 276.303,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45983,
    "c": 0.18393,
    "h": 308.4
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#752DA4
secondary
#8EC06D
accent
#E04884
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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