#752DA3#752DA3

#752DA3 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.183 H 308.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#752DA3
RGBrgb(117, 45, 163)
HSLhsl(277, 57%, 41%)
HSVhsv(277, 72%, 64%)
CMYKcmyk(28.2%, 72.4%, 0%, 36.1%)
CIE-LABlab(34.61, 51.37, -50.35)
CIE-LCHlch(34.61, 71.93, 315.57°)
OKLaboklab(45.91% 0.1144 -0.1427)
OKLCHoklch(45.91% 0.183 308.7)
XYZxyz(14.8840, 8.3033, 35.4618)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DA3 #5BA32D
analogous
#3A2DA3 #752DA3 #A32D96
triadic
#752DA3 #A3752D #2DA375
tetradic
#752DA3 #A33A2D #5BA32D #2D96A3
square
#752DA3 #A33A2D #5BA32D #2D96A3
split-complementary
#752DA3 #96A32D #2DA33A
monochromatic
#301343 #532073 #752DA3 #9642CB #B072D8

Accessibility & contrast

On white

7.89
#752DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#752DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DA3
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DA3#FFFFFF#000000##FFFFFF
##752DA31.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0E52A0
Tritanopia (blue-blind)
#6E4865
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752da3;
/* rgb */ color: rgb(117, 45, 163);
/* oklch */ color: oklch(45.9% 0.183 308.7);
Tailwind
colors: {
  custom: {
    50: '#a16dbf',
    500: '#752da3',
    950: '#000000',
  },
}
SCSS
$custom: #752da3;
$custom-light: #a16dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#752da3",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 276.61,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45908,
    "c": 0.18292,
    "h": 308.7
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#752DA3
secondary
#8DC06C
accent
#E04883
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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