#752C9A#752C9A

#752C9A is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.175 H 311.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#752C9A
RGBrgb(117, 44, 154)
HSLhsl(280, 56%, 39%)
HSVhsv(280, 71%, 60%)
CMYKcmyk(24%, 71.4%, 0%, 39.6%)
CIE-LABlab(33.81, 49.80, -46.19)
CIE-LCHlch(33.81, 67.92, 317.15°)
OKLaboklab(45.14% 0.1167 -0.1305)
OKLCHoklch(45.14% 0.175 311.8)
XYZxyz(14.0685, 7.9167, 31.3526)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C9A #519A2C
analogous
#3E2C9A #752C9A #9A2C88
triadic
#752C9A #9A752C #2C9A75
tetradic
#752C9A #9A3E2C #519A2C #2C889A
square
#752C9A #9A3E2C #519A2C #2C889A
split-complementary
#752C9A #889A2C #2C9A3E
monochromatic
#2D113B #511E6A #752C9A #983CC7 #B16CD5

Accessibility & contrast

On white

8.13
#752C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#752C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C9A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C9A#FFFFFF#000000##FFFFFF
##752C9A1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#1F5198
Tritanopia (blue-blind)
#714460
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752c9a;
/* rgb */ color: rgb(117, 44, 154);
/* oklch */ color: oklch(45.1% 0.175 311.8);
Tailwind
colors: {
  custom: {
    50: '#a16cb8',
    500: '#752c9a',
    950: '#000000',
  },
}
SCSS
$custom: #752c9a;
$custom-light: #a16cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#752c9a",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 279.818,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.17505,
    "h": 311.8
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#752C9A
secondary
#83BC66
accent
#DF497B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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