#752AA1#752AA1

#752AA1 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.184 H 309.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#752AA1
RGBrgb(117, 42, 161)
HSLhsl(278, 59%, 40%)
HSVhsv(278, 74%, 63%)
CMYKcmyk(27.3%, 73.9%, 0%, 36.9%)
CIE-LABlab(34.01, 52.21, -50.12)
CIE-LCHlch(34.01, 72.37, 316.17°)
OKLaboklab(45.44% 0.1178 -0.142)
OKLCHoklch(45.44% 0.184 309.7)
XYZxyz(14.5958, 8.0113, 34.4887)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AA1 #56A12A
analogous
#392AA1 #752AA1 #A12A92
triadic
#752AA1 #A1752A #2AA175
tetradic
#752AA1 #A1392A #56A12A #2A92A1
square
#752AA1 #A1392A #56A12A #2A92A1
split-complementary
#752AA1 #92A12A #2AA139
monochromatic
#2E1140 #521D70 #752AA1 #973CCC #B16DD9

Accessibility & contrast

On white

8.07
#752AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#752AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AA1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AA1#FFFFFF#000000##FFFFFF
##752AA11.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#0D519E
Tritanopia (blue-blind)
#6F4563
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752aa1;
/* rgb */ color: rgb(117, 42, 161);
/* oklch */ color: oklch(45.4% 0.184 309.7);
Tailwind
colors: {
  custom: {
    50: '#a16bbe',
    500: '#752aa1',
    950: '#000000',
  },
}
SCSS
$custom: #752aa1;
$custom-light: #a16bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#752aa1",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 277.815,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.18449,
    "h": 309.7
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#752AA1
secondary
#88C067
accent
#E24680
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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