#761C87#761C87

#761C87 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.176 H 320.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#761C87
RGBrgb(118, 28, 135)
HSLhsl(290, 66%, 32%)
HSVhsv(290, 79%, 53%)
CMYKcmyk(12.6%, 79.3%, 0%, 47.1%)
CIE-LABlab(30.48, 52.29, -39.86)
CIE-LCHlch(30.48, 65.75, 322.69°)
OKLaboklab(42.39% 0.1361 -0.1118)
OKLCHoklch(42.39% 0.176 320.6)
XYZxyz(12.2591, 6.4320, 23.5127)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761C87 #2D871C
analogous
#401C87 #761C87 #871C63
triadic
#761C87 #87761C #1C8776
tetradic
#761C87 #87401C #2D871C #1C6387
square
#761C87 #87401C #2D871C #1C6387
split-complementary
#761C87 #63871C #1C8740
monochromatic
#1D0722 #4A1154 #761C87 #A227BA #C145D8

Accessibility & contrast

On white

9.19
#761C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#761C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761C87
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761C87#FFFFFF#000000##FFFFFF
##761C871.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#284B85
Tritanopia (blue-blind)
#773251
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #761c87;
/* rgb */ color: rgb(118, 28, 135);
/* oklch */ color: oklch(42.4% 0.176 320.6);
Tailwind
colors: {
  custom: {
    50: '#a164aa',
    500: '#761c87',
    950: '#000000',
  },
}
SCSS
$custom: #761c87;
$custom-light: #a164aa;
$custom-dark: #000000;
JSON
{
  "hex": "#761c87",
  "rgb": {
    "r": 118,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 290.467,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.17611,
    "h": 320.6
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#761C87
secondary
#57BA45
accent
#E93F5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761C87

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

Preview Lab → · Contrast checker → · Palette generator →

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