#752C9C#752C9C

#752C9C is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.177 H 311.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#752C9C
RGBrgb(117, 44, 156)
HSLhsl(279, 56%, 39%)
HSVhsv(279, 72%, 61%)
CMYKcmyk(25%, 71.8%, 0%, 38.8%)
CIE-LABlab(33.95, 50.24, -47.18)
CIE-LCHlch(33.95, 68.92, 316.80°)
OKLaboklab(45.28% 0.1164 -0.1334)
OKLCHoklch(45.28% 0.177 311.1)
XYZxyz(14.2364, 7.9839, 32.2371)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C9C #539C2C
analogous
#3D2C9C #752C9C #9C2C8B
triadic
#752C9C #9C752C #2C9C75
tetradic
#752C9C #9C3D2C #539C2C #2C8B9C
square
#752C9C #9C3D2C #539C2C #2C8B9C
split-complementary
#752C9C #8B9C2C #2C9C3D
monochromatic
#2D113D #511F6C #752C9C #983DC8 #B16DD6

Accessibility & contrast

On white

8.09
#752C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#752C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C9C
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C9C#FFFFFF#000000##FFFFFF
##752C9C1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#1B519A
Tritanopia (blue-blind)
#704461
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752c9c;
/* rgb */ color: rgb(117, 44, 156);
/* oklch */ color: oklch(45.3% 0.177 311.1);
Tailwind
colors: {
  custom: {
    50: '#a16cba',
    500: '#752c9c',
    950: '#000000',
  },
}
SCSS
$custom: #752c9c;
$custom-light: #a16cba;
$custom-dark: #000000;
JSON
{
  "hex": "#752c9c",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 279.107,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45282,
    "c": 0.17707,
    "h": 311.1
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#752C9C
secondary
#85BD67
accent
#DF497D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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