#77177F#77177F

#77177F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.175 H 324.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#77177F
RGBrgb(119, 23, 127)
HSLhsl(295, 69%, 29%)
HSVhsv(295, 82%, 50%)
CMYKcmyk(6.3%, 81.9%, 0%, 50.2%)
CIE-LABlab(29.58, 52.56, -36.27)
CIE-LCHlch(29.58, 63.86, 325.39°)
OKLaboklab(41.62% 0.1423 -0.1012)
OKLCHoklch(41.62% 0.175 324.6)
XYZxyz(11.7446, 6.0678, 20.6272)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77177F #1F7F17
analogous
#43177F #77177F #7F1753
triadic
#77177F #7F7717 #177F77
tetradic
#77177F #7F4317 #1F7F17 #17537F
square
#77177F #7F4317 #1F7F17 #17537F
split-complementary
#77177F #537F17 #177F43
monochromatic
#18051A #460E4B #77177F #A820B3 #CE36DB

Accessibility & contrast

On white

9.49
#77177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#77177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77177F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77177F#FFFFFF#000000##FFFFFF
##77177F1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#7A2C4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #77177f;
/* rgb */ color: rgb(119, 23, 127);
/* oklch */ color: oklch(41.6% 0.175 324.6);
Tailwind
colors: {
  custom: {
    50: '#a262a5',
    500: '#77177f',
    950: '#000000',
  },
}
SCSS
$custom: #77177f;
$custom-light: #a262a5;
$custom-dark: #000000;
JSON
{
  "hex": "#77177f",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 295.385,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41616,
    "c": 0.17464,
    "h": 324.6
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#77177F
secondary
#47B43E
accent
#EC3C49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77177F

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

Preview Lab → · Contrast checker → · Palette generator →

#77177F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva