#8A1680#8A1680

#8A1680 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.185 H 332.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8A1680
RGBrgb(138, 22, 128)
HSLhsl(305, 73%, 31%)
HSVhsv(305, 84%, 54%)
CMYKcmyk(0%, 84.1%, 7.2%, 45.9%)
CIE-LABlab(33.00, 56.97, -31.26)
CIE-LCHlch(33.00, 64.98, 331.25°)
OKLaboklab(44.71% 0.1638 -0.0861)
OKLCHoklch(44.71% 0.185 332.3)
XYZxyz(14.6645, 7.5369, 21.1003)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1680 #168A20
analogous
#5A168A #8A1680 #8A1646
triadic
#8A1680 #808A16 #16808A
tetradic
#8A1680 #8A5A16 #168A20 #16468A
square
#8A1680 #8A5A16 #168A20 #16468A
split-complementary
#8A1680 #468A16 #168A5A
monochromatic
#20051E #550E4F #8A1680 #BF1EB1 #E03BD1

Accessibility & contrast

On white

8.38
#8A1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1680
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1680#FFFFFF#000000##FFFFFF
##8A16801.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4383
Deuteranopia (green-blind)
#40537D
Tritanopia (blue-blind)
#90264C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1680;
/* rgb */ color: rgb(138, 22, 128);
/* oklch */ color: oklch(44.7% 0.185 332.3);
Tailwind
colors: {
  custom: {
    50: '#b064a5',
    500: '#8a1680',
    950: '#000000',
  },
}
SCSS
$custom: #8a1680;
$custom-light: #b064a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1680",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 305.172,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44713,
    "c": 0.18509,
    "h": 332.3
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#8A1680
secondary
#3EBE49
accent
#EF4839
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A1680

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

Preview Lab → · Contrast checker → · Palette generator →

#8A1680 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva