#752AA0#752AA0

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

Color values

HEX#752AA0
RGBrgb(117, 42, 160)
HSLhsl(278, 58%, 40%)
HSVhsv(278, 74%, 63%)
CMYKcmyk(26.9%, 73.8%, 0%, 37.3%)
CIE-LABlab(33.93, 51.98, -49.63)
CIE-LCHlch(33.93, 71.87, 316.33°)
OKLaboklab(45.36% 0.1179 -0.1406)
OKLCHoklch(45.36% 0.183 310)
XYZxyz(14.5080, 7.9762, 34.0262)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AA0 #55A02A
analogous
#3A2AA0 #752AA0 #A02A90
triadic
#752AA0 #A0752A #2AA075
tetradic
#752AA0 #A03A2A #55A02A #2A90A0
square
#752AA0 #A03A2A #55A02A #2A90A0
split-complementary
#752AA0 #90A02A #2AA03A
monochromatic
#2E113F #521D70 #752AA0 #973CCC #B16CD8

Accessibility & contrast

On white

8.09
#752AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752AA0
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AA0#FFFFFF#000000##FFFFFF
##752AA01.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#10519D
Tritanopia (blue-blind)
#6F4563
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752aa0;
/* rgb */ color: rgb(117, 42, 160);
/* oklch */ color: oklch(45.4% 0.183 310.0);
Tailwind
colors: {
  custom: {
    50: '#a16bbd',
    500: '#752aa0',
    950: '#000000',
  },
}
SCSS
$custom: #752aa0;
$custom-light: #a16bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#752aa0",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 278.136,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45361,
    "c": 0.18349,
    "h": 310
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#752AA0
secondary
#87BF67
accent
#E2467F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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