#752DA1#752DA1

#752DA1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.181 H 309.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#752DA1
RGBrgb(117, 45, 161)
HSLhsl(277, 56%, 40%)
HSVhsv(277, 72%, 63%)
CMYKcmyk(27.3%, 72%, 0%, 36.9%)
CIE-LABlab(34.46, 50.92, -49.38)
CIE-LCHlch(34.46, 70.93, 315.88°)
OKLaboklab(45.76% 0.1147 -0.1399)
OKLCHoklch(45.76% 0.181 309.4)
XYZxyz(14.7062, 8.2322, 34.5256)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DA1 #59A12D
analogous
#3B2DA1 #752DA1 #A12D93
triadic
#752DA1 #A1752D #2DA175
tetradic
#752DA1 #A13B2D #59A12D #2D93A1
square
#752DA1 #A13B2D #59A12D #2D93A1
split-complementary
#752DA1 #93A12D #2DA13B
monochromatic
#2F1241 #522071 #752DA1 #9641CA #B171D7

Accessibility & contrast

On white

7.94
#752DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752DA1
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DA1#FFFFFF#000000##FFFFFF
##752DA11.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#13529F
Tritanopia (blue-blind)
#6F4764
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752da1;
/* rgb */ color: rgb(117, 45, 161);
/* oklch */ color: oklch(45.8% 0.181 309.4);
Tailwind
colors: {
  custom: {
    50: '#a16cbe',
    500: '#752da1',
    950: '#000000',
  },
}
SCSS
$custom: #752da1;
$custom-light: #a16cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#752da1",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 277.241,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45759,
    "c": 0.18088,
    "h": 309.4
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #752DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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