#761E8B#761E8B

#761E8B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.178 H 318.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#761E8B
RGBrgb(118, 30, 139)
HSLhsl(288, 64%, 33%)
HSVhsv(288, 78%, 55%)
CMYKcmyk(15.1%, 78.4%, 0%, 45.5%)
CIE-LABlab(30.98, 52.39, -41.53)
CIE-LCHlch(30.98, 66.86, 321.60°)
OKLaboklab(42.83% 0.1338 -0.1167)
OKLCHoklch(42.83% 0.178 318.9)
XYZxyz(12.5951, 6.6448, 25.0402)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761E8B #338B1E
analogous
#3F1E8B #761E8B #8B1E69
triadic
#761E8B #8B761E #1E8B76
tetradic
#761E8B #8B3F1E #338B1E #1E698B
square
#761E8B #8B3F1E #338B1E #1E698B
split-complementary
#761E8B #698B1E #1E8B3F
monochromatic
#210826 #4B1359 #761E8B #A129BD #BD4BD8

Accessibility & contrast

On white

9.02
#761E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#761E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761E8B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761E8B#FFFFFF#000000##FFFFFF
##761E8B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#763554
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #761e8b;
/* rgb */ color: rgb(118, 30, 139);
/* oklch */ color: oklch(42.8% 0.178 318.9);
Tailwind
colors: {
  custom: {
    50: '#a165ad',
    500: '#761e8b',
    950: '#000000',
  },
}
SCSS
$custom: #761e8b;
$custom-light: #a165ad;
$custom-dark: #000000;
JSON
{
  "hex": "#761e8b",
  "rgb": {
    "r": 118,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 288.44,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42831,
    "c": 0.17755,
    "h": 318.9
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#761E8B
secondary
#60BB4A
accent
#E74061
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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