#761986#761986

#761986 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.178 H 321.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#761986
RGBrgb(118, 25, 134)
HSLhsl(291, 69%, 31%)
HSVhsv(291, 81%, 53%)
CMYKcmyk(11.9%, 81.3%, 0%, 47.5%)
CIE-LABlab(30.08, 53.05, -39.87)
CIE-LCHlch(30.08, 66.36, 323.07°)
OKLaboklab(42.08% 0.1388 -0.1118)
OKLCHoklch(42.08% 0.178 321.1)
XYZxyz(12.1214, 6.2687, 23.1211)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761986 #298619
analogous
#3F1986 #761986 #86195F
triadic
#761986 #867619 #198676
tetradic
#761986 #863F19 #298619 #195F86
square
#761986 #863F19 #298619 #195F86
split-complementary
#761986 #5F8619 #19863F
monochromatic
#1B061F #490F52 #761986 #A323BA #C43EDB

Accessibility & contrast

On white

9.32
#761986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#761986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761986
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761986#FFFFFF#000000##FFFFFF
##7619861.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#773050
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #761986;
/* rgb */ color: rgb(118, 25, 134);
/* oklch */ color: oklch(42.1% 0.178 321.1);
Tailwind
colors: {
  custom: {
    50: '#a162aa',
    500: '#761986',
    950: '#000000',
  },
}
SCSS
$custom: #761986;
$custom-light: #a162aa;
$custom-dark: #000000;
JSON
{
  "hex": "#761986",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 291.193,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42083,
    "c": 0.17818,
    "h": 321.1
  },
  "luminance": 0.06268
}

Semantic roles & 50–950 ramp

primary
#761986
secondary
#53BA41
accent
#EB3C56
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761986

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

Preview Lab → · Contrast checker → · Palette generator →

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