#761987#761987

#761987 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.179 H 320.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#761987
RGBrgb(118, 25, 135)
HSLhsl(291, 69%, 31%)
HSVhsv(291, 81%, 53%)
CMYKcmyk(12.6%, 81.5%, 0%, 47.1%)
CIE-LABlab(30.15, 53.24, -40.38)
CIE-LCHlch(30.15, 66.82, 322.82°)
OKLaboklab(42.15% 0.1386 -0.1133)
OKLCHoklch(42.15% 0.179 320.7)
XYZxyz(12.1915, 6.2968, 23.4902)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761987 #2A8719
analogous
#3F1987 #761987 #871961
triadic
#761987 #877619 #198776
tetradic
#761987 #873F19 #2A8719 #196187
square
#761987 #873F19 #2A8719 #196187
split-complementary
#761987 #618719 #19873F
monochromatic
#1C0620 #490F53 #761987 #A323BB #C33FDB

Accessibility & contrast

On white

9.30
#761987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#761987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761987
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761987#FFFFFF#000000##FFFFFF
##7619871.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#264A85
Tritanopia (blue-blind)
#773150
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #761987;
/* rgb */ color: rgb(118, 25, 135);
/* oklch */ color: oklch(42.2% 0.179 320.7);
Tailwind
colors: {
  custom: {
    50: '#a163aa',
    500: '#761987',
    950: '#000000',
  },
}
SCSS
$custom: #761987;
$custom-light: #a163aa;
$custom-dark: #000000;
JSON
{
  "hex": "#761987",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 290.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42153,
    "c": 0.17902,
    "h": 320.7
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#761987
secondary
#54BA41
accent
#EC3C57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761987

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

Preview Lab → · Contrast checker → · Palette generator →

#761987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva