#752CA4#752CA4

#752CA4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.185 H 308.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#752CA4
RGBrgb(117, 44, 164)
HSLhsl(277, 58%, 41%)
HSVhsv(277, 73%, 64%)
CMYKcmyk(28.7%, 73.2%, 0%, 35.7%)
CIE-LABlab(34.53, 52.03, -51.08)
CIE-LCHlch(34.53, 72.92, 315.53°)
OKLaboklab(45.87% 0.1153 -0.1449)
OKLCHoklch(45.87% 0.185 308.5)
XYZxyz(14.9363, 8.2639, 35.9230)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CA4 #5BA42C
analogous
#392CA4 #752CA4 #A42C97
triadic
#752CA4 #A4752C #2CA475
tetradic
#752CA4 #A4392C #5BA42C #2C97A4
square
#752CA4 #A4392C #5BA42C #2C97A4
split-complementary
#752CA4 #97A42C #2CA439
monochromatic
#301243 #531F74 #752CA4 #9641CC #B071D9

Accessibility & contrast

On white

7.92
#752CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752CA4
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CA4#FFFFFF#000000##FFFFFF
##752CA41.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0852A1
Tritanopia (blue-blind)
#6E4865
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752ca4;
/* rgb */ color: rgb(117, 44, 164);
/* oklch */ color: oklch(45.9% 0.185 308.5);
Tailwind
colors: {
  custom: {
    50: '#a16cc0',
    500: '#752ca4',
    950: '#000000',
  },
}
SCSS
$custom: #752ca4;
$custom-light: #a16cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#752ca4",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 276.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45874,
    "c": 0.18513,
    "h": 308.5
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#752CA4
secondary
#8DC06B
accent
#E14783
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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