#752CA3#752CA3

#752CA3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.184 H 308.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#752CA3
RGBrgb(117, 44, 163)
HSLhsl(277, 57%, 41%)
HSVhsv(277, 73%, 64%)
CMYKcmyk(28.2%, 73%, 0%, 36.1%)
CIE-LABlab(34.45, 51.81, -50.60)
CIE-LCHlch(34.45, 72.42, 315.67°)
OKLaboklab(45.8% 0.1154 -0.1434)
OKLCHoklch(45.8% 0.184 308.8)
XYZxyz(14.8463, 8.2279, 35.4493)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CA3 #5AA32C
analogous
#3A2CA3 #752CA3 #A32C95
triadic
#752CA3 #A3752C #2CA375
tetradic
#752CA3 #A33A2C #5AA32C #2C95A3
square
#752CA3 #A33A2C #5AA32C #2C95A3
split-complementary
#752CA3 #95A32C #2CA33A
monochromatic
#301243 #521F73 #752CA3 #9641CC #B071D9

Accessibility & contrast

On white

7.94
#752CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752CA3
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CA3#FFFFFF#000000##FFFFFF
##752CA31.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0C52A0
Tritanopia (blue-blind)
#6E4765
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752ca3;
/* rgb */ color: rgb(117, 44, 163);
/* oklch */ color: oklch(45.8% 0.184 308.8);
Tailwind
colors: {
  custom: {
    50: '#a16cbf',
    500: '#752ca3',
    950: '#000000',
  },
}
SCSS
$custom: #752ca3;
$custom-light: #a16cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#752ca3",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 276.807,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45799,
    "c": 0.18412,
    "h": 308.8
  },
  "luminance": 0.08228
}

Semantic roles & 50–950 ramp

primary
#752CA3
secondary
#8CC06B
accent
#E14782
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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