#751C9E#751C9E

#751C9E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.196 H 311.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#751C9E
RGBrgb(117, 28, 158)
HSLhsl(281, 70%, 36%)
HSVhsv(281, 82%, 62%)
CMYKcmyk(25.9%, 82.3%, 0%, 38%)
CIE-LABlab(31.99, 56.71, -51.56)
CIE-LCHlch(31.99, 76.64, 317.72°)
OKLaboklab(43.95% 0.1306 -0.1462)
OKLCHoklch(43.95% 0.196 311.8)
XYZxyz(13.9218, 7.0814, 32.9746)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C9E #459E1C
analogous
#341C9E #751C9E #9E1C86
triadic
#751C9E #9E751C #1C9E75
tetradic
#751C9E #9E341C #459E1C #1C869E
square
#751C9E #9E341C #459E1C #1C869E
split-complementary
#751C9E #869E1C #1C9E34
monochromatic
#280A36 #4F136A #751C9E #9B25D2 #B454E1

Accessibility & contrast

On white

8.69
#751C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#751C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C9E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C9E#FFFFFF#000000##FFFFFF
##751C9E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#703D5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #751c9e;
/* rgb */ color: rgb(117, 28, 158);
/* oklch */ color: oklch(43.9% 0.196 311.8);
Tailwind
colors: {
  custom: {
    50: '#a265bb',
    500: '#751c9e',
    950: '#000000',
  },
}
SCSS
$custom: #751c9e;
$custom-light: #a265bb;
$custom-dark: #000000;
JSON
{
  "hex": "#751c9e",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 281.077,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43947,
    "c": 0.19604,
    "h": 311.8
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#751C9E
secondary
#76C452
accent
#ED3B73
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #751C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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