#761C8D#761C8D

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

Color values

HEX#761C8D
RGBrgb(118, 28, 141)
HSLhsl(288, 67%, 33%)
HSVhsv(288, 80%, 55%)
CMYKcmyk(16.3%, 80.1%, 0%, 44.7%)
CIE-LABlab(30.89, 53.45, -42.91)
CIE-LCHlch(30.89, 68.55, 321.24°)
OKLaboklab(42.81% 0.1353 -0.1207)
OKLCHoklch(42.81% 0.181 318.3)
XYZxyz(12.6935, 6.6057, 25.8006)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761C8D #338D1C
analogous
#3E1C8D #761C8D #8D1C6B
triadic
#761C8D #8D761C #1C8D76
tetradic
#761C8D #8D3E1C #338D1C #1C6B8D
square
#761C8D #8D3E1C #338D1C #1C6B8D
split-complementary
#761C8D #6B8D1C #1C8D3E
monochromatic
#210827 #4B125A #761C8D #A126C0 #BD49DB

Accessibility & contrast

On white

9.05
#761C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#761C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761C8D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761C8D#FFFFFF#000000##FFFFFF
##761C8D1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#224B8B
Tritanopia (blue-blind)
#753555
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #761c8d;
/* rgb */ color: rgb(118, 28, 141);
/* oklch */ color: oklch(42.8% 0.181 318.3);
Tailwind
colors: {
  custom: {
    50: '#a164af',
    500: '#761c8d',
    950: '#000000',
  },
}
SCSS
$custom: #761c8d;
$custom-light: #a164af;
$custom-dark: #000000;
JSON
{
  "hex": "#761c8d",
  "rgb": {
    "r": 118,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 287.788,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4281,
    "c": 0.18133,
    "h": 318.3
  },
  "luminance": 0.06605
}

Semantic roles & 50–950 ramp

primary
#761C8D
secondary
#60BD48
accent
#EA3E61
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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