#761F97#761F97

#761F97 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.187 H 314.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#761F97
RGBrgb(118, 31, 151)
HSLhsl(284, 66%, 36%)
HSVhsv(284, 79%, 59%)
CMYKcmyk(21.9%, 79.5%, 0%, 40.8%)
CIE-LABlab(31.96, 54.46, -47.34)
CIE-LCHlch(31.96, 72.16, 319.00°)
OKLaboklab(43.79% 0.1311 -0.1338)
OKLCHoklch(43.79% 0.187 314.4)
XYZxyz(13.5462, 7.0664, 29.9225)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761F97 #40971F
analogous
#3A1F97 #761F97 #971F7C
triadic
#761F97 #97761F #1F9776
tetradic
#761F97 #973A1F #40971F #1F7C97
square
#761F97 #973A1F #40971F #1F7C97
split-complementary
#761F97 #7C971F #1F973A
monochromatic
#270A31 #4E1564 #761F97 #9E29CA #B754DC

Accessibility & contrast

On white

8.70
#761F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#761F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761F97
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761F97#FFFFFF#000000##FFFFFF
##761F971.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#164D94
Tritanopia (blue-blind)
#733B5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #761f97;
/* rgb */ color: rgb(118, 31, 151);
/* oklch */ color: oklch(43.8% 0.187 314.4);
Tailwind
colors: {
  custom: {
    50: '#a266b6',
    500: '#761f97',
    950: '#000000',
  },
}
SCSS
$custom: #761f97;
$custom-light: #a266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#761f97",
  "rgb": {
    "r": 118,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 283.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43788,
    "c": 0.18727,
    "h": 314.4
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#761F97
secondary
#70BF52
accent
#E93F6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #761F97

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

Preview Lab → · Contrast checker → · Palette generator →

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