#761886#761886

#761886 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.179 H 321.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#761886
RGBrgb(118, 24, 134)
HSLhsl(291, 70%, 31%)
HSVhsv(291, 82%, 53%)
CMYKcmyk(11.9%, 82.1%, 0%, 47.5%)
CIE-LABlab(29.98, 53.35, -40.04)
CIE-LCHlch(29.98, 66.70, 323.11°)
OKLaboklab(42.01% 0.1395 -0.1123)
OKLCHoklch(42.01% 0.179 321.2)
XYZxyz(12.1004, 6.2267, 23.1142)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761886 #288618
analogous
#3F1886 #761886 #86185F
triadic
#761886 #867618 #188676
tetradic
#761886 #863F18 #288618 #185F86
square
#761886 #863F18 #288618 #185F86
split-complementary
#761886 #5F8618 #18863F
monochromatic
#1B051E #480F52 #761886 #A421BA #C53CDC

Accessibility & contrast

On white

9.35
#761886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #761886
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761886#FFFFFF#000000##FFFFFF
##7618861.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.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: #761886;
/* rgb */ color: rgb(118, 24, 134);
/* oklch */ color: oklch(42.0% 0.179 321.2);
Tailwind
colors: {
  custom: {
    50: '#a162aa',
    500: '#761886',
    950: '#000000',
  },
}
SCSS
$custom: #761886;
$custom-light: #a162aa;
$custom-dark: #000000;
JSON
{
  "hex": "#761886",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 291.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4201,
    "c": 0.1791,
    "h": 321.2
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#761886
secondary
#52BA40
accent
#EC3B55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761886

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

Preview Lab → · Contrast checker → · Palette generator →

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