#752D9C#752D9C

#752D9C is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.176 H 311.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#752D9C
RGBrgb(117, 45, 156)
HSLhsl(279, 55%, 39%)
HSVhsv(279, 71%, 61%)
CMYKcmyk(25%, 71.2%, 0%, 38.8%)
CIE-LABlab(34.11, 49.80, -46.93)
CIE-LCHlch(34.11, 68.42, 316.70°)
OKLaboklab(45.39% 0.1154 -0.1327)
OKLCHoklch(45.39% 0.176 311)
XYZxyz(14.2741, 8.0593, 32.2497)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D9C #549C2D
analogous
#3E2D9C #752D9C #9C2D8C
triadic
#752D9C #9C752D #2D9C75
tetradic
#752D9C #9C3E2D #549C2D #2D8C9C
square
#752D9C #9C3E2D #549C2D #2D8C9C
split-complementary
#752D9C #8C9C2D #2D9C3E
monochromatic
#2E123D #511F6D #752D9C #973FC8 #B16ED5

Accessibility & contrast

On white

8.04
#752D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#752D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D9C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D9C#FFFFFF#000000##FFFFFF
##752D9C1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752d9c;
/* rgb */ color: rgb(117, 45, 156);
/* oklch */ color: oklch(45.4% 0.176 311.0);
Tailwind
colors: {
  custom: {
    50: '#a16cba',
    500: '#752d9c',
    950: '#000000',
  },
}
SCSS
$custom: #752d9c;
$custom-light: #a16cba;
$custom-dark: #000000;
JSON
{
  "hex": "#752d9c",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 278.919,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.17581,
    "h": 311
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#752D9C
secondary
#86BC68
accent
#DF497E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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