#752EA5#752EA5

#752EA5 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.184 H 308.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#752EA5
RGBrgb(117, 46, 165)
HSLhsl(276, 56%, 41%)
HSVhsv(276, 72%, 65%)
CMYKcmyk(29.1%, 72.1%, 0%, 35.3%)
CIE-LABlab(34.91, 51.39, -51.07)
CIE-LCHlch(34.91, 72.45, 315.18°)
OKLaboklab(46.17% 0.1131 -0.1448)
OKLCHoklch(46.17% 0.184 308)
XYZxyz(15.1032, 8.4527, 36.4259)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EA5 #5EA52E
analogous
#3A2EA5 #752EA5 #A52E9A
triadic
#752EA5 #A5752E #2EA575
tetradic
#752EA5 #A53A2E #5EA52E #2E9AA5
square
#752EA5 #A53A2E #5EA52E #2E9AA5
split-complementary
#752EA5 #9AA52E #2EA53A
monochromatic
#311345 #532175 #752EA5 #9545CB #B075D8

Accessibility & contrast

On white

7.80
#752EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#752EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EA5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EA5#FFFFFF#000000##FFFFFF
##752EA51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0A53A2
Tritanopia (blue-blind)
#6D4966
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752ea5;
/* rgb */ color: rgb(117, 46, 165);
/* oklch */ color: oklch(46.2% 0.184 308.0);
Tailwind
colors: {
  custom: {
    50: '#a16dc0',
    500: '#752ea5',
    950: '#000000',
  },
}
SCSS
$custom: #752ea5;
$custom-light: #a16dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#752ea5",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 275.798,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.18374,
    "h": 308
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#752EA5
secondary
#8FC06F
accent
#E04885
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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