#761B8E#761B8E

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

Color values

HEX#761B8E
RGBrgb(118, 27, 142)
HSLhsl(287, 68%, 33%)
HSVhsv(287, 81%, 56%)
CMYKcmyk(16.9%, 81%, 0%, 44.3%)
CIE-LABlab(30.85, 53.97, -43.60)
CIE-LCHlch(30.85, 69.38, 321.07°)
OKLaboklab(42.81% 0.136 -0.1227)
OKLCHoklch(42.81% 0.183 317.9)
XYZxyz(12.7449, 6.5890, 26.1864)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B8E #338E1B
analogous
#3C1B8E #761B8E #8E1B6C
triadic
#761B8E #8E761B #1B8E76
tetradic
#761B8E #8E3C1B #338E1B #1B6C8E
square
#761B8E #8E3C1B #338E1B #1B6C8E
split-complementary
#761B8E #6C8E1B #1B8E3C
monochromatic
#210727 #4B115B #761B8E #A125C1 #BD47DC

Accessibility & contrast

On white

9.06
#761B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #761B8E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B8E#FFFFFF#000000##FFFFFF
##761B8E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#204B8C
Tritanopia (blue-blind)
#753555
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #761b8e;
/* rgb */ color: rgb(118, 27, 142);
/* oklch */ color: oklch(42.8% 0.183 317.9);
Tailwind
colors: {
  custom: {
    50: '#a164b0',
    500: '#761b8e',
    950: '#000000',
  },
}
SCSS
$custom: #761b8e;
$custom-light: #a164b0;
$custom-dark: #000000;
JSON
{
  "hex": "#761b8e",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 287.478,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42805,
    "c": 0.18316,
    "h": 317.9
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#761B8E
secondary
#60BE47
accent
#EB3D61
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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