#752DA2#752DA2

#752DA2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.182 H 309.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#752DA2
RGBrgb(117, 45, 162)
HSLhsl(277, 57%, 41%)
HSVhsv(277, 72%, 64%)
CMYKcmyk(27.8%, 72.2%, 0%, 36.5%)
CIE-LABlab(34.53, 51.14, -49.87)
CIE-LCHlch(34.53, 71.43, 315.73°)
OKLaboklab(45.83% 0.1146 -0.1413)
OKLCHoklch(45.83% 0.182 309)
XYZxyz(14.7948, 8.2676, 34.9918)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DA2 #5AA22D
analogous
#3A2DA2 #752DA2 #A22D94
triadic
#752DA2 #A2752D #2DA275
tetradic
#752DA2 #A23A2D #5AA22D #2D94A2
square
#752DA2 #A23A2D #5AA22D #2D94A2
split-complementary
#752DA2 #94A22D #2DA23A
monochromatic
#301242 #522072 #752DA2 #9642CA #B072D8

Accessibility & contrast

On white

7.91
#752DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#752DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DA2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DA2#FFFFFF#000000##FFFFFF
##752DA21.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#11529F
Tritanopia (blue-blind)
#6E4765
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752da2;
/* rgb */ color: rgb(117, 45, 162);
/* oklch */ color: oklch(45.8% 0.182 309.0);
Tailwind
colors: {
  custom: {
    50: '#a16dbe',
    500: '#752da2',
    950: '#000000',
  },
}
SCSS
$custom: #752da2;
$custom-light: #a16dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#752da2",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 276.923,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45834,
    "c": 0.1819,
    "h": 309
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

primary
#752DA2
secondary
#8CBF6C
accent
#E04882
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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