#761D8E#761D8E

#761D8E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.181 H 317.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#761D8E
RGBrgb(118, 29, 142)
HSLhsl(287, 66%, 34%)
HSVhsv(287, 80%, 56%)
CMYKcmyk(16.9%, 79.6%, 0%, 44.3%)
CIE-LABlab(31.08, 53.32, -43.23)
CIE-LCHlch(31.08, 68.65, 320.96°)
OKLaboklab(42.96% 0.1343 -0.1217)
OKLCHoklch(42.96% 0.181 317.8)
XYZxyz(12.7924, 6.6839, 26.2022)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761D8E #358E1D
analogous
#3D1D8E #761D8E #8E1D6D
triadic
#761D8E #8E761D #1D8E76
tetradic
#761D8E #8E3D1D #358E1D #1D6D8E
square
#761D8E #8E3D1D #358E1D #1D6D8E
split-complementary
#761D8E #6D8E1D #1D8E3D
monochromatic
#220828 #4C135B #761D8E #A027C1 #BC4BDA

Accessibility & contrast

On white

8.99
#761D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#761D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761D8E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761D8E#FFFFFF#000000##FFFFFF
##761D8E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#753655
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #761d8e;
/* rgb */ color: rgb(118, 29, 142);
/* oklch */ color: oklch(43.0% 0.181 317.8);
Tailwind
colors: {
  custom: {
    50: '#a164b0',
    500: '#761d8e',
    950: '#000000',
  },
}
SCSS
$custom: #761d8e;
$custom-light: #a164b0;
$custom-dark: #000000;
JSON
{
  "hex": "#761d8e",
  "rgb": {
    "r": 118,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 287.257,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42962,
    "c": 0.18122,
    "h": 317.8
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#761D8E
secondary
#63BD4A
accent
#E93F63
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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