#761A8E#761A8E

#761A8E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.184 H 318.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#761A8E
RGBrgb(118, 26, 142)
HSLhsl(288, 69%, 33%)
HSVhsv(288, 82%, 56%)
CMYKcmyk(16.9%, 81.7%, 0%, 44.3%)
CIE-LABlab(30.75, 54.28, -43.77)
CIE-LCHlch(30.75, 69.73, 321.12°)
OKLaboklab(42.73% 0.1368 -0.1232)
OKLCHoklch(42.73% 0.184 318)
XYZxyz(12.7224, 6.5439, 26.1789)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761A8E #328E1A
analogous
#3C1A8E #761A8E #8E1A6C
triadic
#761A8E #8E761A #1A8E76
tetradic
#761A8E #8E3C1A #328E1A #1A6C8E
square
#761A8E #8E3C1A #328E1A #1A6C8E
split-complementary
#761A8E #6C8E1A #1A8E3C
monochromatic
#200727 #4B115A #761A8E #A123C2 #BE45DD

Accessibility & contrast

On white

9.10
#761A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#761A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761A8E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761A8E#FFFFFF#000000##FFFFFF
##761A8E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#753555
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #761a8e;
/* rgb */ color: rgb(118, 26, 142);
/* oklch */ color: oklch(42.7% 0.184 318.0);
Tailwind
colors: {
  custom: {
    50: '#a163b0',
    500: '#761a8e',
    950: '#000000',
  },
}
SCSS
$custom: #761a8e;
$custom-light: #a163b0;
$custom-dark: #000000;
JSON
{
  "hex": "#761a8e",
  "rgb": {
    "r": 118,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 287.586,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42729,
    "c": 0.18409,
    "h": 318
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#761A8E
secondary
#5EBE45
accent
#EC3C60
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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