#752CB5#752CB5

#752CB5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.202 H 303.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#752CB5
RGBrgb(117, 44, 181)
HSLhsl(272, 61%, 44%)
HSVhsv(272, 76%, 71%)
CMYKcmyk(35.4%, 75.7%, 0%, 29%)
CIE-LABlab(35.83, 55.95, -59.12)
CIE-LCHlch(35.83, 81.40, 313.42°)
OKLaboklab(47.2% 0.1119 -0.1685)
OKLCHoklch(47.2% 0.202 303.6)
XYZxyz(16.5753, 8.9195, 44.5555)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CB5 #6CB52C
analogous
#312CB5 #752CB5 #B52CB1
triadic
#752CB5 #B5752C #2CB575
tetradic
#752CB5 #B5312C #6CB52C #2CB1B5
square
#752CB5 #B5312C #6CB52C #2CB1B5
split-complementary
#752CB5 #B1B52C #2CB531
monochromatic
#351453 #552084 #752CB5 #944BD3 #B17CDF

Accessibility & contrast

On white

7.54
#752CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#752CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CB5
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CB5#FFFFFF#000000##FFFFFF
##752CB51.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#684F6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752cb5;
/* rgb */ color: rgb(117, 44, 181);
/* oklch */ color: oklch(47.2% 0.202 303.6);
Tailwind
colors: {
  custom: {
    50: '#a36dcc',
    500: '#752cb5',
    950: '#000000',
  },
}
SCSS
$custom: #752cb5;
$custom-light: #a36dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#752cb5",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 271.971,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47202,
    "c": 0.20229,
    "h": 303.6
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#752CB5
secondary
#9CC875
accent
#E4448F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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