#752B9F#752B9F

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

Color values

HEX#752B9F
RGBrgb(117, 43, 159)
HSLhsl(278, 57%, 40%)
HSVhsv(278, 73%, 62%)
CMYKcmyk(26.4%, 73%, 0%, 37.6%)
CIE-LABlab(34.01, 51.34, -48.90)
CIE-LCHlch(34.01, 70.90, 316.39°)
OKLaboklab(45.39% 0.1171 -0.1384)
OKLCHoklch(45.39% 0.181 310.2)
XYZxyz(14.4568, 8.0132, 33.5793)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B9F #559F2B
analogous
#3B2B9F #752B9F #9F2B8F
triadic
#752B9F #9F752B #2B9F75
tetradic
#752B9F #9F3B2B #559F2B #2B8F9F
square
#752B9F #9F3B2B #559F2B #2B8F9F
split-complementary
#752B9F #8F9F2B #2B9F3B
monochromatic
#2E113F #521E6F #752B9F #973DCA #B16DD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752B9F#FFFFFF#000000##FFFFFF
##752B9F1.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)
#004DA2
Deuteranopia (green-blind)
#14519D
Tritanopia (blue-blind)
#6F4562
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752b9f;
/* rgb */ color: rgb(117, 43, 159);
/* oklch */ color: oklch(45.4% 0.181 310.2);
Tailwind
colors: {
  custom: {
    50: '#a16bbc',
    500: '#752b9f',
    950: '#000000',
  },
}
SCSS
$custom: #752b9f;
$custom-light: #a16bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#752b9f",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 278.276,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.1813,
    "h": 310.2
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#752B9F
secondary
#87BE67
accent
#E1477F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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