#761A98#761A98

#761A98 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.193 H 314.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#761A98
RGBrgb(118, 26, 152)
HSLhsl(284, 71%, 35%)
HSVhsv(284, 83%, 60%)
CMYKcmyk(22.4%, 82.9%, 0%, 40.4%)
CIE-LABlab(31.48, 56.26, -48.73)
CIE-LCHlch(31.48, 74.43, 319.11°)
OKLaboklab(43.48% 0.1348 -0.1378)
OKLCHoklch(43.48% 0.193 314.4)
XYZxyz(13.5071, 6.8578, 30.3119)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761A98 #3C981A
analogous
#371A98 #761A98 #981A7B
triadic
#761A98 #98761A #1A9876
tetradic
#761A98 #98371A #3C981A #1A7B98
square
#761A98 #98371A #3C981A #1A7B98
split-complementary
#761A98 #7B981A #1A9837
monochromatic
#25082F #4D1164 #761A98 #9F23CC #B84CE0

Accessibility & contrast

On white

8.86
#761A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#761A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761A98
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761A98#FFFFFF#000000##FFFFFF
##761A981.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#0D4C95
Tritanopia (blue-blind)
#733A5A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #761a98;
/* rgb */ color: rgb(118, 26, 152);
/* oklch */ color: oklch(43.5% 0.193 314.4);
Tailwind
colors: {
  custom: {
    50: '#a264b7',
    500: '#761a98',
    950: '#000000',
  },
}
SCSS
$custom: #761a98;
$custom-light: #a264b7;
$custom-dark: #000000;
JSON
{
  "hex": "#761a98",
  "rgb": {
    "r": 118,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 283.81,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43478,
    "c": 0.19278,
    "h": 314.4
  },
  "luminance": 0.06857
}

Semantic roles & 50–950 ramp

primary
#761A98
secondary
#6CC24B
accent
#EE3A6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #761A98

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

Preview Lab → · Contrast checker → · Palette generator →

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