#752EA3#752EA3

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

Color values

HEX#752EA3
RGBrgb(117, 46, 163)
HSLhsl(276, 56%, 41%)
HSVhsv(276, 72%, 64%)
CMYKcmyk(28.2%, 71.8%, 0%, 36.1%)
CIE-LABlab(34.76, 50.93, -50.10)
CIE-LCHlch(34.76, 71.44, 315.47°)
OKLaboklab(46.02% 0.1134 -0.142)
OKLCHoklch(46.02% 0.182 308.6)
XYZxyz(14.9226, 8.3805, 35.4747)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EA3 #5CA32E
analogous
#3A2EA3 #752EA3 #A32E96
triadic
#752EA3 #A3752E #2EA375
tetradic
#752EA3 #A33A2E #5CA32E #2E96A3
square
#752EA3 #A33A2E #5CA32E #2E96A3
split-complementary
#752EA3 #96A32E #2EA33A
monochromatic
#301344 #532173 #752EA3 #9544CA #B074D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752EA3#FFFFFF#000000##FFFFFF
##752EA31.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#1053A0
Tritanopia (blue-blind)
#6E4865
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752ea3;
/* rgb */ color: rgb(117, 46, 163);
/* oklch */ color: oklch(46.0% 0.182 308.6);
Tailwind
colors: {
  custom: {
    50: '#a16dbf',
    500: '#752ea3',
    950: '#000000',
  },
}
SCSS
$custom: #752ea3;
$custom-light: #a16dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#752ea3",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 276.41,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46019,
    "c": 0.18169,
    "h": 308.6
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#752EA3
secondary
#8EBF6D
accent
#DF4984
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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