#752C9F#752C9F

#752C9F is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.180 H 310.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#752C9F
RGBrgb(117, 44, 159)
HSLhsl(278, 57%, 40%)
HSVhsv(278, 72%, 62%)
CMYKcmyk(26.4%, 72.3%, 0%, 37.6%)
CIE-LABlab(34.16, 50.91, -48.65)
CIE-LCHlch(34.16, 70.42, 316.30°)
OKLaboklab(45.5% 0.116 -0.1377)
OKLCHoklch(45.5% 0.18 310.1)
XYZxyz(14.4936, 8.0868, 33.5916)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C9F #569F2C
analogous
#3C2C9F #752C9F #9F2C90
triadic
#752C9F #9F752C #2C9F75
tetradic
#752C9F #9F3C2C #569F2C #2C909F
square
#752C9F #9F3C2C #569F2C #2C909F
split-complementary
#752C9F #909F2C #2C9F3C
monochromatic
#2E113F #521F6F #752C9F #973ECA #B16ED7

Accessibility & contrast

On white

8.02
#752C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#752C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C9F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C9F#FFFFFF#000000##FFFFFF
##752C9F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#16519D
Tritanopia (blue-blind)
#6F4663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752c9f;
/* rgb */ color: rgb(117, 44, 159);
/* oklch */ color: oklch(45.5% 0.180 310.1);
Tailwind
colors: {
  custom: {
    50: '#a16cbc',
    500: '#752c9f',
    950: '#000000',
  },
}
SCSS
$custom: #752c9f;
$custom-light: #a16cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#752c9f",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 278.087,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45501,
    "c": 0.18009,
    "h": 310.1
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#752C9F
secondary
#88BE69
accent
#E0487F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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