#752D9E#752D9E

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

Color values

HEX#752D9E
RGBrgb(117, 45, 158)
HSLhsl(278, 56%, 40%)
HSVhsv(278, 72%, 62%)
CMYKcmyk(25.9%, 71.5%, 0%, 38%)
CIE-LABlab(34.25, 50.24, -47.91)
CIE-LCHlch(34.25, 69.43, 316.36°)
OKLaboklab(45.54% 0.1151 -0.1355)
OKLCHoklch(45.54% 0.178 310.3)
XYZxyz(14.4449, 8.1276, 33.1490)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D9E #569E2D
analogous
#3C2D9E #752D9E #9E2D8F
triadic
#752D9E #9E752D #2D9E75
tetradic
#752D9E #9E3C2D #569E2D #2D8F9E
square
#752D9E #9E3C2D #569E2D #2D8F9E
split-complementary
#752D9E #8F9E2D #2D9E3C
monochromatic
#2E123F #521F6E #752D9E #9740C9 #B16FD6

Accessibility & contrast

On white

8.00
#752D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#752D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D9E
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D9E#FFFFFF#000000##FFFFFF
##752D9E1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#19529C
Tritanopia (blue-blind)
#6F4662
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752d9e;
/* rgb */ color: rgb(117, 45, 158);
/* oklch */ color: oklch(45.5% 0.178 310.3);
Tailwind
colors: {
  custom: {
    50: '#a16cbb',
    500: '#752d9e',
    950: '#000000',
  },
}
SCSS
$custom: #752d9e;
$custom-light: #a16cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#752d9e",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 278.23,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.17784,
    "h": 310.3
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

primary
#752D9E
secondary
#88BD69
accent
#DF497F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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