#752C9B#752C9B

#752C9B is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.176 H 311.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#752C9B
RGBrgb(117, 44, 155)
HSLhsl(279, 56%, 39%)
HSVhsv(279, 72%, 61%)
CMYKcmyk(24.5%, 71.6%, 0%, 39.2%)
CIE-LABlab(33.88, 50.02, -46.69)
CIE-LCHlch(33.88, 68.42, 316.97°)
OKLaboklab(45.21% 0.1166 -0.132)
OKLCHoklch(45.21% 0.176 311.5)
XYZxyz(14.1521, 7.9502, 31.7930)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C9B #529B2C
analogous
#3D2C9B #752C9B #9B2C8A
triadic
#752C9B #9B752C #2C9B75
tetradic
#752C9B #9B3D2C #529B2C #2C8A9B
square
#752C9B #9B3D2C #529B2C #2C8A9B
split-complementary
#752C9B #8A9B2C #2C9B3D
monochromatic
#2D113C #511E6B #752C9B #983CC8 #B16CD5

Accessibility & contrast

On white

8.11
#752C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#752C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C9B
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C9B#FFFFFF#000000##FFFFFF
##752C9B1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#1D5199
Tritanopia (blue-blind)
#704460
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752c9b;
/* rgb */ color: rgb(117, 44, 155);
/* oklch */ color: oklch(45.2% 0.176 311.5);
Tailwind
colors: {
  custom: {
    50: '#a16cb9',
    500: '#752c9b',
    950: '#000000',
  },
}
SCSS
$custom: #752c9b;
$custom-light: #a16cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#752c9b",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 279.459,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45209,
    "c": 0.17607,
    "h": 311.5
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#752C9B
secondary
#84BC67
accent
#DF497C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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