#77158F#77158F

#77158F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.6% C 0.190 H 318.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#77158F
RGBrgb(119, 21, 143)
HSLhsl(288, 74%, 32%)
HSVhsv(288, 85%, 56%)
CMYKcmyk(16.8%, 85.3%, 0%, 43.9%)
CIE-LABlab(30.50, 56.07, -44.77)
CIE-LCHlch(30.50, 71.75, 321.39°)
OKLaboklab(42.61% 0.1415 -0.1261)
OKLCHoklch(42.61% 0.19 318.3)
XYZxyz(12.8331, 6.4421, 26.5487)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77158F #2D8F15
analogous
#3A158F #77158F #8F156A
triadic
#77158F #8F7715 #158F77
tetradic
#77158F #8F3A15 #2D8F15 #156A8F
square
#77158F #8F3A15 #2D8F15 #156A8F
split-complementary
#77158F #6A8F15 #158F3A
monochromatic
#1E0524 #4B0D5A #77158F #A31DC4 #C23CE2

Accessibility & contrast

On white

9.18
#77158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#77158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77158F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77158F#FFFFFF#000000##FFFFFF
##77158F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#1C4B8C
Tritanopia (blue-blind)
#763354
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77158f;
/* rgb */ color: rgb(119, 21, 143);
/* oklch */ color: oklch(42.6% 0.190 318.3);
Tailwind
colors: {
  custom: {
    50: '#a262b0',
    500: '#77158f',
    950: '#000000',
  },
}
SCSS
$custom: #77158f;
$custom-light: #a262b0;
$custom-dark: #000000;
JSON
{
  "hex": "#77158f",
  "rgb": {
    "r": 119,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 288.197,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42614,
    "c": 0.18953,
    "h": 318.3
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#77158F
secondary
#58C23E
accent
#F1375B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #77158F

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

Preview Lab → · Contrast checker → · Palette generator →

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