#752EA0#752EA0

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

Color values

HEX#752EA0
RGBrgb(117, 46, 160)
HSLhsl(277, 55%, 40%)
HSVhsv(277, 71%, 63%)
CMYKcmyk(26.9%, 71.2%, 0%, 37.3%)
CIE-LABlab(34.55, 50.25, -48.64)
CIE-LCHlch(34.55, 69.93, 315.93°)
OKLaboklab(45.8% 0.1138 -0.1377)
OKLCHoklch(45.8% 0.179 309.6)
XYZxyz(14.6570, 8.2743, 34.0759)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EA0 #59A02E
analogous
#3C2EA0 #752EA0 #A02E92
triadic
#752EA0 #A0752E #2EA075
tetradic
#752EA0 #A03C2E #59A02E #2E92A0
square
#752EA0 #A03C2E #59A02E #2E92A0
split-complementary
#752EA0 #92A02E #2EA03C
monochromatic
#2F1341 #522070 #752EA0 #9642C9 #B172D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752EA0#FFFFFF#000000##FFFFFF
##752EA01.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)
#004EA3
Deuteranopia (green-blind)
#17529E
Tritanopia (blue-blind)
#6F4764
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752ea0;
/* rgb */ color: rgb(117, 46, 160);
/* oklch */ color: oklch(45.8% 0.179 309.6);
Tailwind
colors: {
  custom: {
    50: '#a16dbd',
    500: '#752ea0',
    950: '#000000',
  },
}
SCSS
$custom: #752ea0;
$custom-light: #a16dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#752ea0",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 277.368,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45798,
    "c": 0.17862,
    "h": 309.6
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#752EA0
secondary
#8BBE6C
accent
#DF4982
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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