#761B87#761B87

#761B87 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.177 H 320.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#761B87
RGBrgb(118, 27, 135)
HSLhsl(291, 67%, 32%)
HSVhsv(291, 80%, 53%)
CMYKcmyk(12.6%, 80%, 0%, 47.1%)
CIE-LABlab(30.36, 52.62, -40.04)
CIE-LCHlch(30.36, 66.12, 322.73°)
OKLaboklab(42.31% 0.137 -0.1123)
OKLCHoklch(42.31% 0.177 320.7)
XYZxyz(12.2358, 6.3854, 23.5050)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B87 #2C871B
analogous
#401B87 #761B87 #871B62
triadic
#761B87 #87761B #1B8776
tetradic
#761B87 #87401B #2C871B #1B6287
square
#761B87 #87401B #2C871B #1B6287
split-complementary
#761B87 #62871B #1B8740
monochromatic
#1D0721 #491154 #761B87 #A325BA #C243D9

Accessibility & contrast

On white

9.22
#761B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#761B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761B87
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B87#FFFFFF#000000##FFFFFF
##761B871.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#274B85
Tritanopia (blue-blind)
#773251
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #761b87;
/* rgb */ color: rgb(118, 27, 135);
/* oklch */ color: oklch(42.3% 0.177 320.7);
Tailwind
colors: {
  custom: {
    50: '#a163aa',
    500: '#761b87',
    950: '#000000',
  },
}
SCSS
$custom: #761b87;
$custom-light: #a163aa;
$custom-dark: #000000;
JSON
{
  "hex": "#761b87",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 290.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42305,
    "c": 0.17711,
    "h": 320.7
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#761B87
secondary
#56BA44
accent
#EA3E59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761B87

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

Preview Lab → · Contrast checker → · Palette generator →

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