#752B9D#752B9D

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

Color values

HEX#752B9D
RGBrgb(117, 43, 157)
HSLhsl(279, 57%, 39%)
HSVhsv(279, 73%, 62%)
CMYKcmyk(25.5%, 72.6%, 0%, 38.4%)
CIE-LABlab(33.87, 50.89, -47.92)
CIE-LCHlch(33.87, 69.90, 316.72°)
OKLaboklab(45.25% 0.1174 -0.1356)
OKLCHoklch(45.25% 0.179 310.9)
XYZxyz(14.2846, 7.9443, 32.6727)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B9D #539D2B
analogous
#3C2B9D #752B9D #9D2B8C
triadic
#752B9D #9D752B #2B9D75
tetradic
#752B9D #9D3C2B #539D2B #2B8C9D
square
#752B9D #9D3C2B #539D2B #2B8C9D
split-complementary
#752B9D #8C9D2B #2B9D3C
monochromatic
#2D113D #511E6D #752B9D #983CCA #B16CD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752B9D#FFFFFF#000000##FFFFFF
##752B9D1.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)
#004CA0
Deuteranopia (green-blind)
#18519B
Tritanopia (blue-blind)
#704461
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752b9d;
/* rgb */ color: rgb(117, 43, 157);
/* oklch */ color: oklch(45.2% 0.179 310.9);
Tailwind
colors: {
  custom: {
    50: '#a16bbb',
    500: '#752b9d',
    950: '#000000',
  },
}
SCSS
$custom: #752b9d;
$custom-light: #a16bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#752b9d",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 278.947,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.1793,
    "h": 310.9
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#752B9D
secondary
#85BD66
accent
#E0487D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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