#761B98#761B98

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

Color values

HEX#761B98
RGBrgb(118, 27, 152)
HSLhsl(284, 70%, 35%)
HSVhsv(284, 82%, 60%)
CMYKcmyk(22.4%, 82.2%, 0%, 40.4%)
CIE-LABlab(31.58, 55.96, -48.56)
CIE-LCHlch(31.58, 74.09, 319.05°)
OKLaboklab(43.55% 0.1341 -0.1373)
OKLCHoklch(43.55% 0.192 314.3)
XYZxyz(13.5297, 6.9029, 30.3194)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B98 #3D981B
analogous
#381B98 #761B98 #981B7B
triadic
#761B98 #98761B #1B9876
tetradic
#761B98 #98381B #3D981B #1B7B98
square
#761B98 #98381B #3D981B #1B7B98
split-complementary
#761B98 #7B981B #1B9838
monochromatic
#250930 #4E1264 #761B98 #9E24CC #B84EE0

Accessibility & contrast

On white

8.82
#761B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#761B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761B98
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B98#FFFFFF#000000##FFFFFF
##761B981.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#0E4C95
Tritanopia (blue-blind)
#733A5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #761b98;
/* rgb */ color: rgb(118, 27, 152);
/* oklch */ color: oklch(43.5% 0.192 314.3);
Tailwind
colors: {
  custom: {
    50: '#a264b7',
    500: '#761b98',
    950: '#000000',
  },
}
SCSS
$custom: #761b98;
$custom-light: #a264b7;
$custom-dark: #000000;
JSON
{
  "hex": "#761b98",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 283.68,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4355,
    "c": 0.19191,
    "h": 314.3
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#761B98
secondary
#6DC24D
accent
#ED3B6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #761B98

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

Preview Lab → · Contrast checker → · Palette generator →

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