#761B96#761B96

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

Color values

HEX#761B96
RGBrgb(118, 27, 150)
HSLhsl(284, 69%, 35%)
HSVhsv(284, 82%, 59%)
CMYKcmyk(21.3%, 82%, 0%, 41.2%)
CIE-LABlab(31.43, 55.56, -47.58)
CIE-LCHlch(31.43, 73.15, 319.42°)
OKLaboklab(43.4% 0.1345 -0.1344)
OKLCHoklch(43.4% 0.19 315)
XYZxyz(13.3673, 6.8379, 29.4640)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B96 #3B961B
analogous
#381B96 #761B96 #961B79
triadic
#761B96 #96761B #1B9676
tetradic
#761B96 #96381B #3B961B #1B7996
square
#761B96 #96381B #3B961B #1B7996
split-complementary
#761B96 #79961B #1B9638
monochromatic
#24082E #4D1262 #761B96 #9F24CA #B94DDF

Accessibility & contrast

On white

8.87
#761B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#761B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761B96
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B96#FFFFFF#000000##FFFFFF
##761B961.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #761b96;
/* rgb */ color: rgb(118, 27, 150);
/* oklch */ color: oklch(43.4% 0.190 315.0);
Tailwind
colors: {
  custom: {
    50: '#a264b6',
    500: '#761b96',
    950: '#000000',
  },
}
SCSS
$custom: #761b96;
$custom-light: #a264b6;
$custom-dark: #000000;
JSON
{
  "hex": "#761b96",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 284.39,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43398,
    "c": 0.19016,
    "h": 315
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#761B96
secondary
#6AC14C
accent
#EC3B69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #761B96

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

Preview Lab → · Contrast checker → · Palette generator →

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