#752CA1#752CA1

#752CA1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.182 H 309.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#752CA1
RGBrgb(117, 44, 161)
HSLhsl(277, 57%, 40%)
HSVhsv(277, 73%, 63%)
CMYKcmyk(27.3%, 72.7%, 0%, 36.9%)
CIE-LABlab(34.31, 51.35, -49.63)
CIE-LCHlch(34.31, 71.42, 315.98°)
OKLaboklab(45.65% 0.1157 -0.1406)
OKLCHoklch(45.65% 0.182 309.5)
XYZxyz(14.6685, 8.1568, 34.5130)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CA1 #58A12C
analogous
#3B2CA1 #752CA1 #A12C92
triadic
#752CA1 #A1752C #2CA175
tetradic
#752CA1 #A13B2C #58A12C #2C92A1
square
#752CA1 #A13B2C #58A12C #2C92A1
split-complementary
#752CA1 #92A12C #2CA13B
monochromatic
#2F1241 #521F71 #752CA1 #9640CB #B170D8

Accessibility & contrast

On white

7.98
#752CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#752CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CA1
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CA1#FFFFFF#000000##FFFFFF
##752CA11.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#11529E
Tritanopia (blue-blind)
#6F4664
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752ca1;
/* rgb */ color: rgb(117, 44, 161);
/* oklch */ color: oklch(45.6% 0.182 309.5);
Tailwind
colors: {
  custom: {
    50: '#a16cbe',
    500: '#752ca1',
    950: '#000000',
  },
}
SCSS
$custom: #752ca1;
$custom-light: #a16cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#752ca1",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 277.436,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45649,
    "c": 0.1821,
    "h": 309.5
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#752CA1
secondary
#8ABF6A
accent
#E04781
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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