#761C96#761C96

#761C96 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.189 H 315.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#761C96
RGBrgb(118, 28, 150)
HSLhsl(284, 69%, 35%)
HSVhsv(284, 81%, 59%)
CMYKcmyk(21.3%, 81.3%, 0%, 41.2%)
CIE-LABlab(31.54, 55.24, -47.40)
CIE-LCHlch(31.54, 72.79, 319.37°)
OKLaboklab(43.47% 0.1337 -0.1339)
OKLCHoklch(43.47% 0.189 315)
XYZxyz(13.3906, 6.8846, 29.4717)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761C96 #3C961C
analogous
#391C96 #761C96 #961C79
triadic
#761C96 #96761C #1C9676
tetradic
#761C96 #96391C #3C961C #1C7996
square
#761C96 #96391C #3C961C #1C7996
split-complementary
#761C96 #79961C #1C9639
monochromatic
#25092F #4D1262 #761C96 #9F26CA #B84EDE

Accessibility & contrast

On white

8.84
#761C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#761C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761C96
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761C96#FFFFFF#000000##FFFFFF
##761C961.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#144C93
Tritanopia (blue-blind)
#733A5A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #761c96;
/* rgb */ color: rgb(118, 28, 150);
/* oklch */ color: oklch(43.5% 0.189 315.0);
Tailwind
colors: {
  custom: {
    50: '#a264b6',
    500: '#761c96',
    950: '#000000',
  },
}
SCSS
$custom: #761c96;
$custom-light: #a264b6;
$custom-dark: #000000;
JSON
{
  "hex": "#761c96",
  "rgb": {
    "r": 118,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 284.262,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43474,
    "c": 0.18924,
    "h": 315
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#761C96
secondary
#6CC14D
accent
#EB3C6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #761C96

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

Preview Lab → · Contrast checker → · Palette generator →

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