#751C87#751C87

#751C87 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.176 H 320.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#751C87
RGBrgb(117, 28, 135)
HSLhsl(290, 66%, 32%)
HSVhsv(290, 79%, 53%)
CMYKcmyk(13.3%, 79.3%, 0%, 47.1%)
CIE-LABlab(30.31, 52.09, -40.14)
CIE-LCHlch(30.31, 65.76, 322.38°)
OKLaboklab(42.23% 0.1349 -0.1126)
OKLCHoklch(42.23% 0.176 320.1)
XYZxyz(12.1240, 6.3623, 23.5064)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C87 #2E871C
analogous
#401C87 #751C87 #871C63
triadic
#751C87 #87751C #1C8775
tetradic
#751C87 #87401C #2E871C #1C6387
square
#751C87 #87401C #2E871C #1C6387
split-complementary
#751C87 #63871C #1C8740
monochromatic
#1D0722 #491154 #751C87 #A127BA #C045D8

Accessibility & contrast

On white

9.24
#751C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#751C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C87
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C87#FFFFFF#000000##FFFFFF
##751C871.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#274A85
Tritanopia (blue-blind)
#753351
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751c87;
/* rgb */ color: rgb(117, 28, 135);
/* oklch */ color: oklch(42.2% 0.176 320.1);
Tailwind
colors: {
  custom: {
    50: '#a063aa',
    500: '#751c87',
    950: '#000000',
  },
}
SCSS
$custom: #751c87;
$custom-light: #a063aa;
$custom-dark: #000000;
JSON
{
  "hex": "#751c87",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 289.907,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42233,
    "c": 0.1757,
    "h": 320.1
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#751C87
secondary
#59BA45
accent
#E93F5C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751C87

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

Preview Lab → · Contrast checker → · Palette generator →

#751C87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva