#761F87#761F87

#761F87 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.173 H 320.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#761F87
RGBrgb(118, 31, 135)
HSLhsl(290, 63%, 33%)
HSVhsv(290, 77%, 53%)
CMYKcmyk(12.6%, 77%, 0%, 47.1%)
CIE-LABlab(30.83, 51.27, -39.28)
CIE-LCHlch(30.83, 64.59, 322.54°)
OKLaboklab(42.64% 0.1334 -0.1101)
OKLCHoklch(42.64% 0.173 320.5)
XYZxyz(12.3338, 6.5814, 23.5377)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761F87 #30871F
analogous
#421F87 #761F87 #871F64
triadic
#761F87 #87761F #1F8776
tetradic
#761F87 #87421F #30871F #1F6487
square
#761F87 #87421F #30871F #1F6487
split-complementary
#761F87 #64871F #1F8742
monochromatic
#1F0823 #4A1455 #761F87 #A22AB9 #BF4BD6

Accessibility & contrast

On white

9.07
#761F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#761F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761F87
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761F87#FFFFFF#000000##FFFFFF
##761F871.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#2A4C85
Tritanopia (blue-blind)
#773452
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #761f87;
/* rgb */ color: rgb(118, 31, 135);
/* oklch */ color: oklch(42.6% 0.173 320.5);
Tailwind
colors: {
  custom: {
    50: '#a165aa',
    500: '#761f87',
    950: '#000000',
  },
}
SCSS
$custom: #761f87;
$custom-light: #a165aa;
$custom-dark: #000000;
JSON
{
  "hex": "#761f87",
  "rgb": {
    "r": 118,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 290.192,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42638,
    "c": 0.17295,
    "h": 320.5
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#761F87
secondary
#5CB84A
accent
#E6425D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761F87

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

Preview Lab → · Contrast checker → · Palette generator →

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