#761F8E#761F8E

#761F8E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.179 H 317.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#761F8E
RGBrgb(118, 31, 142)
HSLhsl(287, 64%, 34%)
HSVhsv(287, 78%, 56%)
CMYKcmyk(16.9%, 78.2%, 0%, 44.3%)
CIE-LABlab(31.31, 52.64, -42.85)
CIE-LCHlch(31.31, 67.88, 320.85°)
OKLaboklab(43.13% 0.1325 -0.1206)
OKLCHoklch(43.13% 0.179 317.7)
XYZxyz(12.8430, 6.7851, 26.2191)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761F8E #378E1F
analogous
#3F1F8E #761F8E #8E1F6F
triadic
#761F8E #8E761F #1F8E76
tetradic
#761F8E #8E3F1F #378E1F #1F6F8E
square
#761F8E #8E3F1F #378E1F #1F6F8E
split-complementary
#761F8E #6F8E1F #1F8E3F
monochromatic
#23092A #4C145C #761F8E #A02AC0 #BB4FD9

Accessibility & contrast

On white

8.91
#761F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#761F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761F8E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761F8E#FFFFFF#000000##FFFFFF
##761F8E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#234C8C
Tritanopia (blue-blind)
#753756
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #761f8e;
/* rgb */ color: rgb(118, 31, 142);
/* oklch */ color: oklch(43.1% 0.179 317.7);
Tailwind
colors: {
  custom: {
    50: '#a165b0',
    500: '#761f8e',
    950: '#000000',
  },
}
SCSS
$custom: #761f8e;
$custom-light: #a165b0;
$custom-dark: #000000;
JSON
{
  "hex": "#761f8e",
  "rgb": {
    "r": 118,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 287.027,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43129,
    "c": 0.17918,
    "h": 317.7
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#761F8E
secondary
#65BB4D
accent
#E74165
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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