#761B8F#761B8F

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

Color values

HEX#761B8F
RGBrgb(118, 27, 143)
HSLhsl(287, 68%, 33%)
HSVhsv(287, 81%, 56%)
CMYKcmyk(17.5%, 81.1%, 0%, 43.9%)
CIE-LABlab(30.92, 54.17, -44.10)
CIE-LCHlch(30.92, 69.85, 320.85°)
OKLaboklab(42.88% 0.1358 -0.1242)
OKLCHoklch(42.88% 0.184 317.6)
XYZxyz(12.8204, 6.6192, 26.5836)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B8F #348F1B
analogous
#3C1B8F #761B8F #8F1B6E
triadic
#761B8F #8F761B #1B8F76
tetradic
#761B8F #8F3C1B #348F1B #1B6E8F
square
#761B8F #8F3C1B #348F1B #1B6E8F
split-complementary
#761B8F #6E8F1B #1B8F3C
monochromatic
#210828 #4C115C #761B8F #A025C2 #BC48DC

Accessibility & contrast

On white

9.04
#761B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #761B8F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B8F#FFFFFF#000000##FFFFFF
##761B8F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#1F4B8D
Tritanopia (blue-blind)
#753655
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #761b8f;
/* rgb */ color: rgb(118, 27, 143);
/* oklch */ color: oklch(42.9% 0.184 317.6);
Tailwind
colors: {
  custom: {
    50: '#a164b0',
    500: '#761b8f',
    950: '#000000',
  },
}
SCSS
$custom: #761b8f;
$custom-light: #a164b0;
$custom-dark: #000000;
JSON
{
  "hex": "#761b8f",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 287.069,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.18403,
    "h": 317.6
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#761B8F
secondary
#61BE48
accent
#EB3D62
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #761B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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