#761A87#761A87

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

Color values

HEX#761A87
RGBrgb(118, 26, 135)
HSLhsl(291, 68%, 32%)
HSVhsv(291, 81%, 53%)
CMYKcmyk(12.6%, 80.7%, 0%, 47.1%)
CIE-LABlab(30.26, 52.93, -40.21)
CIE-LCHlch(30.26, 66.48, 322.78°)
OKLaboklab(42.23% 0.1378 -0.1128)
OKLCHoklch(42.23% 0.178 320.7)
XYZxyz(12.2133, 6.3403, 23.4975)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761A87 #2B871A
analogous
#401A87 #761A87 #871A62
triadic
#761A87 #87761A #1A8776
tetradic
#761A87 #87401A #2B871A #1A6287
square
#761A87 #87401A #2B871A #1A6287
split-complementary
#761A87 #62871A #1A8740
monochromatic
#1C0620 #491054 #761A87 #A324BA #C241DA

Accessibility & contrast

On white

9.26
#761A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#761A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761A87
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761A87#FFFFFF#000000##FFFFFF
##761A871.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #761a87;
/* rgb */ color: rgb(118, 26, 135);
/* oklch */ color: oklch(42.2% 0.178 320.7);
Tailwind
colors: {
  custom: {
    50: '#a163aa',
    500: '#761a87',
    950: '#000000',
  },
}
SCSS
$custom: #761a87;
$custom-light: #a163aa;
$custom-dark: #000000;
JSON
{
  "hex": "#761a87",
  "rgb": {
    "r": 118,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 290.642,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42228,
    "c": 0.17808,
    "h": 320.7
  },
  "luminance": 0.0634
}

Semantic roles & 50–950 ramp

primary
#761A87
secondary
#55BA42
accent
#EB3D58
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761A87

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

Preview Lab → · Contrast checker → · Palette generator →

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