#751B96#751B96

#751B96 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.190 H 314.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#751B96
RGBrgb(117, 27, 150)
HSLhsl(284, 69%, 35%)
HSVhsv(284, 82%, 59%)
CMYKcmyk(22%, 82%, 0%, 41.2%)
CIE-LABlab(31.27, 55.37, -47.85)
CIE-LCHlch(31.27, 73.18, 319.17°)
OKLaboklab(43.25% 0.1332 -0.1352)
OKLCHoklch(43.25% 0.19 314.6)
XYZxyz(13.2321, 6.7683, 29.4576)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B96 #3C961B
analogous
#371B96 #751B96 #961B7A
triadic
#751B96 #96751B #1B9675
tetradic
#751B96 #96371B #3C961B #1B7A96
square
#751B96 #96371B #3C961B #1B7A96
split-complementary
#751B96 #7A961B #1B9637
monochromatic
#24082E #4D1262 #751B96 #9D24CA #B84DDF

Accessibility & contrast

On white

8.92
#751B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#751B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B96
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B96#FFFFFF#000000##FFFFFF
##751B961.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#104C93
Tritanopia (blue-blind)
#72395A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #751b96;
/* rgb */ color: rgb(117, 27, 150);
/* oklch */ color: oklch(43.3% 0.190 314.6);
Tailwind
colors: {
  custom: {
    50: '#a164b6',
    500: '#751b96',
    950: '#000000',
  },
}
SCSS
$custom: #751b96;
$custom-light: #a164b6;
$custom-dark: #000000;
JSON
{
  "hex": "#751b96",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 283.902,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43253,
    "c": 0.18981,
    "h": 314.6
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#751B96
secondary
#6BC14C
accent
#EC3B6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #751B96

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

Preview Lab → · Contrast checker → · Palette generator →

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