#752C9E#752C9E

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

Color values

HEX#752C9E
RGBrgb(117, 44, 158)
HSLhsl(278, 56%, 40%)
HSVhsv(278, 72%, 62%)
CMYKcmyk(25.9%, 72.2%, 0%, 38%)
CIE-LABlab(34.09, 50.68, -48.16)
CIE-LCHlch(34.09, 69.92, 316.46°)
OKLaboklab(45.43% 0.1162 -0.1363)
OKLCHoklch(45.43% 0.179 310.4)
XYZxyz(14.4072, 8.0522, 33.1364)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C9E #559E2C
analogous
#3C2C9E #752C9E #9E2C8E
triadic
#752C9E #9E752C #2C9E75
tetradic
#752C9E #9E3C2C #559E2C #2C8E9E
square
#752C9E #9E3C2C #559E2C #2C8E9E
split-complementary
#752C9E #8E9E2C #2C9E3C
monochromatic
#2E113E #521F6E #752C9E #973EC9 #B16ED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752C9E#FFFFFF#000000##FFFFFF
##752C9E1.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)
#004DA1
Deuteranopia (green-blind)
#18519C
Tritanopia (blue-blind)
#6F4562
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752c9e;
/* rgb */ color: rgb(117, 44, 158);
/* oklch */ color: oklch(45.4% 0.179 310.4);
Tailwind
colors: {
  custom: {
    50: '#a16cbb',
    500: '#752c9e',
    950: '#000000',
  },
}
SCSS
$custom: #752c9e;
$custom-light: #a16cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#752c9e",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 278.421,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45428,
    "c": 0.17908,
    "h": 310.4
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#752C9E
secondary
#87BE68
accent
#E0487F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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