#751C8E#751C8E

#751C8E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.182 H 317.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#751C8E
RGBrgb(117, 28, 142)
HSLhsl(287, 67%, 33%)
HSVhsv(287, 80%, 56%)
CMYKcmyk(17.6%, 80.3%, 0%, 44.3%)
CIE-LABlab(30.80, 53.45, -43.69)
CIE-LCHlch(30.80, 69.04, 320.74°)
OKLaboklab(42.73% 0.1339 -0.123)
OKLCHoklch(42.73% 0.182 317.4)
XYZxyz(12.6331, 6.5660, 26.1879)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C8E #358E1C
analogous
#3C1C8E #751C8E #8E1C6E
triadic
#751C8E #8E751C #1C8E75
tetradic
#751C8E #8E3C1C #358E1C #1C6E8E
square
#751C8E #8E3C1C #358E1C #1C6E8E
split-complementary
#751C8E #6E8E1C #1C8E3C
monochromatic
#210828 #4B125B #751C8E #9F26C1 #BB49DB

Accessibility & contrast

On white

9.08
#751C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#751C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C8E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C8E#FFFFFF#000000##FFFFFF
##751C8E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#743655
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751c8e;
/* rgb */ color: rgb(117, 28, 142);
/* oklch */ color: oklch(42.7% 0.182 317.4);
Tailwind
colors: {
  custom: {
    50: '#a164b0',
    500: '#751c8e',
    950: '#000000',
  },
}
SCSS
$custom: #751c8e;
$custom-light: #a164b0;
$custom-dark: #000000;
JSON
{
  "hex": "#751c8e",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 286.842,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.18182,
    "h": 317.4
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#751C8E
secondary
#62BD49
accent
#EA3E64
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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