#752C9D#752C9D

#752C9D is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.178 H 310.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#752C9D
RGBrgb(117, 44, 157)
HSLhsl(279, 56%, 39%)
HSVhsv(279, 72%, 62%)
CMYKcmyk(25.5%, 72%, 0%, 38.4%)
CIE-LABlab(34.02, 50.46, -47.67)
CIE-LCHlch(34.02, 69.42, 316.63°)
OKLaboklab(45.35% 0.1163 -0.1348)
OKLCHoklch(45.35% 0.178 310.8)
XYZxyz(14.3214, 8.0179, 32.6849)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C9D #549D2C
analogous
#3D2C9D #752C9D #9D2C8D
triadic
#752C9D #9D752C #2C9D75
tetradic
#752C9D #9D3D2C #549D2C #2C8D9D
square
#752C9D #9D3D2C #549D2C #2C8D9D
split-complementary
#752C9D #8D9D2C #2C9D3D
monochromatic
#2E113D #511F6D #752C9D #973DC9 #B16DD6

Accessibility & contrast

On white

8.07
#752C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752C9D
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C9D#FFFFFF#000000##FFFFFF
##752C9D1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#1A519B
Tritanopia (blue-blind)
#704561
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752c9d;
/* rgb */ color: rgb(117, 44, 157);
/* oklch */ color: oklch(45.4% 0.178 310.8);
Tailwind
colors: {
  custom: {
    50: '#a16cbb',
    500: '#752c9d',
    950: '#000000',
  },
}
SCSS
$custom: #752c9d;
$custom-light: #a16cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#752c9d",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 278.761,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45354,
    "c": 0.17807,
    "h": 310.8
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

primary
#752C9D
secondary
#86BD68
accent
#E0487E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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