#752A9C#752A9C

#752A9C is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.180 H 311.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#752A9C
RGBrgb(117, 42, 156)
HSLhsl(279, 58%, 39%)
HSVhsv(279, 73%, 61%)
CMYKcmyk(25%, 73.1%, 0%, 38.8%)
CIE-LABlab(33.64, 51.10, -47.67)
CIE-LCHlch(33.64, 69.88, 316.99°)
OKLaboklab(45.07% 0.1185 -0.1348)
OKLCHoklch(45.07% 0.18 311.3)
XYZxyz(14.1637, 7.8385, 32.2129)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A9C #519C2A
analogous
#3C2A9C #752A9C #9C2A8A
triadic
#752A9C #9C752A #2A9C75
tetradic
#752A9C #9C3C2A #519C2A #2A8A9C
square
#752A9C #9C3C2A #519C2A #2A8A9C
split-complementary
#752A9C #8A9C2A #2A9C3C
monochromatic
#2D103C #511D6C #752A9C #9839CA #B16AD7

Accessibility & contrast

On white

8.18
#752A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#752A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A9C
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A9C#FFFFFF#000000##FFFFFF
##752A9C1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#19509A
Tritanopia (blue-blind)
#704360
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752a9c;
/* rgb */ color: rgb(117, 42, 156);
/* oklch */ color: oklch(45.1% 0.180 311.3);
Tailwind
colors: {
  custom: {
    50: '#a16bba',
    500: '#752a9c',
    950: '#000000',
  },
}
SCSS
$custom: #752a9c;
$custom-light: #a16bba;
$custom-dark: #000000;
JSON
{
  "hex": "#752a9c",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 279.474,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45065,
    "c": 0.17953,
    "h": 311.3
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#752A9C
secondary
#83BD65
accent
#E1477C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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