#76178F#76178F

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

Color values

HEX#76178F
RGBrgb(118, 23, 143)
HSLhsl(288, 72%, 33%)
HSVhsv(288, 84%, 56%)
CMYKcmyk(17.5%, 83.9%, 0%, 43.9%)
CIE-LABlab(30.52, 55.35, -44.76)
CIE-LCHlch(30.52, 71.18, 321.04°)
OKLaboklab(42.59% 0.1388 -0.1261)
OKLCHoklch(42.59% 0.188 317.8)
XYZxyz(12.7348, 6.4481, 26.5551)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76178F #308F17
analogous
#3A178F #76178F #8F176C
triadic
#76178F #8F7617 #178F76
tetradic
#76178F #8F3A17 #308F17 #176C8F
square
#76178F #8F3A17 #308F17 #176C8F
split-complementary
#76178F #6C8F17 #178F3A
monochromatic
#1F0626 #4A0F5A #76178F #A21FC4 #BF40E0

Accessibility & contrast

On white

9.17
#76178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76178F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76178F#FFFFFF#000000##FFFFFF
##76178F1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #76178f;
/* rgb */ color: rgb(118, 23, 143);
/* oklch */ color: oklch(42.6% 0.188 317.8);
Tailwind
colors: {
  custom: {
    50: '#a262b0',
    500: '#76178f',
    950: '#000000',
  },
}
SCSS
$custom: #76178f;
$custom-light: #a262b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76178f",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 287.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.18756,
    "h": 317.8
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#76178F
secondary
#5CC141
accent
#EF395F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #76178F

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

Preview Lab → · Contrast checker → · Palette generator →

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