#761D87#761D87

#761D87 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.175 H 320.6°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#761D87
RGBrgb(118, 29, 135)
HSLhsl(290, 65%, 32%)
HSVhsv(290, 79%, 53%)
CMYKcmyk(12.6%, 78.5%, 0%, 47.1%)
CIE-LABlab(30.59, 51.96, -39.67)
CIE-LCHlch(30.59, 65.37, 322.64°)
OKLaboklab(42.47% 0.1352 -0.1112)
OKLCHoklch(42.47% 0.175 320.6)
XYZxyz(12.2832, 6.4802, 23.5208)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761D87 #2E871D
analogous
#411D87 #761D87 #871D63
triadic
#761D87 #87761D #1D8776
tetradic
#761D87 #87411D #2E871D #1D6387
square
#761D87 #87411D #2E871D #1D6387
split-complementary
#761D87 #63871D #1D8741
monochromatic
#1E0722 #4A1255 #761D87 #A228B9 #C047D7

Accessibility & contrast

On white

9.15
#761D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#761D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761D87
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761D87#FFFFFF#000000##FFFFFF
##761D871.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #761d87;
/* rgb */ color: rgb(118, 29, 135);
/* oklch */ color: oklch(42.5% 0.175 320.6);
Tailwind
colors: {
  custom: {
    50: '#a164aa',
    500: '#761d87',
    950: '#000000',
  },
}
SCSS
$custom: #761d87;
$custom-light: #a164aa;
$custom-dark: #000000;
JSON
{
  "hex": "#761d87",
  "rgb": {
    "r": 118,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 290.377,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.17508,
    "h": 320.6
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#761D87
secondary
#59B946
accent
#E8405B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761D87

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

Preview Lab → · Contrast checker → · Palette generator →

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