#761B82#761B82

#761B82 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.173 H 322.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#761B82
RGBrgb(118, 27, 130)
HSLhsl(293, 66%, 31%)
HSVhsv(293, 79%, 51%)
CMYKcmyk(9.2%, 79.2%, 0%, 49%)
CIE-LABlab(30.03, 51.68, -37.45)
CIE-LCHlch(30.03, 63.82, 324.07°)
OKLaboklab(41.96% 0.1375 -0.1047)
OKLCHoklch(41.96% 0.173 322.7)
XYZxyz(11.8920, 6.2478, 21.6943)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B82 #27821B
analogous
#421B82 #761B82 #821B5A
triadic
#761B82 #82761B #1B8276
tetradic
#761B82 #82421B #27821B #1B5A82
square
#761B82 #82421B #27821B #1B5A82
split-complementary
#761B82 #5A821B #1B8242
monochromatic
#1A061D #48104F #761B82 #A426B5 #C640D7

Accessibility & contrast

On white

9.34
#761B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#761B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761B82
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B82#FFFFFF#000000##FFFFFF
##761B821.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#2C4A80
Tritanopia (blue-blind)
#782F4E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #761b82;
/* rgb */ color: rgb(118, 27, 130);
/* oklch */ color: oklch(42.0% 0.173 322.7);
Tailwind
colors: {
  custom: {
    50: '#a163a7',
    500: '#761b82',
    950: '#000000',
  },
}
SCSS
$custom: #761b82;
$custom-light: #a163a7;
$custom-dark: #000000;
JSON
{
  "hex": "#761b82",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 293.01,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41961,
    "c": 0.17284,
    "h": 322.7
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#761B82
secondary
#51B643
accent
#E93F53
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761B82

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

Preview Lab → · Contrast checker → · Palette generator →

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