#752CB4#752CB4

#752CB4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.201 H 303.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#752CB4
RGBrgb(117, 44, 180)
HSLhsl(272, 61%, 44%)
HSVhsv(272, 76%, 71%)
CMYKcmyk(35%, 75.6%, 0%, 29.4%)
CIE-LABlab(35.75, 55.71, -58.66)
CIE-LCHlch(35.75, 80.90, 313.52°)
OKLaboklab(47.12% 0.1122 -0.1671)
OKLCHoklch(47.12% 0.201 303.9)
XYZxyz(16.4731, 8.8786, 44.0171)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CB4 #6BB42C
analogous
#312CB4 #752CB4 #B42CAF
triadic
#752CB4 #B4752C #2CB475
tetradic
#752CB4 #B4312C #6BB42C #2CAFB4
square
#752CB4 #B4312C #6BB42C #2CAFB4
split-complementary
#752CB4 #AFB42C #2CB431
monochromatic
#351452 #552083 #752CB4 #944AD3 #B17CDF

Accessibility & contrast

On white

7.57
#752CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752CB4
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CB4#FFFFFF#000000##FFFFFF
##752CB41.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#684E6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752cb4;
/* rgb */ color: rgb(117, 44, 180);
/* oklch */ color: oklch(47.1% 0.201 303.9);
Tailwind
colors: {
  custom: {
    50: '#a26dcb',
    500: '#752cb4',
    950: '#000000',
  },
}
SCSS
$custom: #752cb4;
$custom-light: #a26dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#752cb4",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 272.206,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47122,
    "c": 0.20128,
    "h": 303.9
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#752CB4
secondary
#9BC775
accent
#E4448E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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