#761C8B#761C8B

#761C8B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.180 H 319.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#761C8B
RGBrgb(118, 28, 139)
HSLhsl(289, 66%, 33%)
HSVhsv(289, 80%, 55%)
CMYKcmyk(15.1%, 79.9%, 0%, 45.5%)
CIE-LABlab(30.75, 53.06, -41.90)
CIE-LCHlch(30.75, 67.61, 321.70°)
OKLaboklab(42.67% 0.1356 -0.1178)
OKLCHoklch(42.67% 0.18 319)
XYZxyz(12.5460, 6.5468, 25.0239)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761C8B #318B1C
analogous
#3F1C8B #761C8B #8B1C68
triadic
#761C8B #8B761C #1C8B76
tetradic
#761C8B #8B3F1C #318B1C #1C688B
square
#761C8B #8B3F1C #318B1C #1C688B
split-complementary
#761C8B #688B1C #1C8B3F
monochromatic
#200725 #4B1258 #761C8B #A126BE #BE47DA

Accessibility & contrast

On white

9.09
#761C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#761C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761C8B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761C8B#FFFFFF#000000##FFFFFF
##761C8B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#244B89
Tritanopia (blue-blind)
#763453
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #761c8b;
/* rgb */ color: rgb(118, 28, 139);
/* oklch */ color: oklch(42.7% 0.180 319.0);
Tailwind
colors: {
  custom: {
    50: '#a164ad',
    500: '#761c8b',
    950: '#000000',
  },
}
SCSS
$custom: #761c8b;
$custom-light: #a164ad;
$custom-dark: #000000;
JSON
{
  "hex": "#761c8b",
  "rgb": {
    "r": 118,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 288.649,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42667,
    "c": 0.17958,
    "h": 319
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#761C8B
secondary
#5DBC47
accent
#E93E5F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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