#761C8E#761C8E

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

Color values

HEX#761C8E
RGBrgb(118, 28, 142)
HSLhsl(287, 67%, 33%)
HSVhsv(287, 80%, 56%)
CMYKcmyk(16.9%, 80.3%, 0%, 44.3%)
CIE-LABlab(30.96, 53.65, -43.42)
CIE-LCHlch(30.96, 69.02, 321.02°)
OKLaboklab(42.88% 0.1351 -0.1222)
OKLCHoklch(42.88% 0.182 317.9)
XYZxyz(12.7683, 6.6356, 26.1942)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761C8E #348E1C
analogous
#3D1C8E #761C8E #8E1C6D
triadic
#761C8E #8E761C #1C8E76
tetradic
#761C8E #8E3D1C #348E1C #1C6D8E
square
#761C8E #8E3D1C #348E1C #1C6D8E
split-complementary
#761C8E #6D8E1C #1C8E3D
monochromatic
#210828 #4C125B #761C8E #A026C1 #BC49DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##761C8E#FFFFFF#000000##FFFFFF
##761C8E1.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)
#004391
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#753655
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #761c8e;
/* rgb */ color: rgb(118, 28, 142);
/* oklch */ color: oklch(42.9% 0.182 317.9);
Tailwind
colors: {
  custom: {
    50: '#a164b0',
    500: '#761c8e',
    950: '#000000',
  },
}
SCSS
$custom: #761c8e;
$custom-light: #a164b0;
$custom-dark: #000000;
JSON
{
  "hex": "#761c8e",
  "rgb": {
    "r": 118,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 287.368,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42882,
    "c": 0.1822,
    "h": 317.9
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#761C8E
secondary
#61BD49
accent
#EA3E62
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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