#8A1683#8A1683

#8A1683 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.187 H 331.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8A1683
RGBrgb(138, 22, 131)
HSLhsl(304, 73%, 31%)
HSVhsv(304, 84%, 54%)
CMYKcmyk(0%, 84.1%, 5.1%, 45.9%)
CIE-LABlab(33.17, 57.44, -32.86)
CIE-LCHlch(33.17, 66.17, 330.23°)
OKLaboklab(44.89% 0.1638 -0.0907)
OKLCHoklch(44.89% 0.187 331)
XYZxyz(14.8649, 7.6170, 22.1557)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1683 #168A1D
analogous
#57168A #8A1683 #8A1649
triadic
#8A1683 #838A16 #16838A
tetradic
#8A1683 #8A5716 #168A1D #16498A
square
#8A1683 #8A5716 #168A1D #16498A
split-complementary
#8A1683 #498A16 #168A57
monochromatic
#20051F #550E51 #8A1683 #BF1EB5 #E03BD6

Accessibility & contrast

On white

8.32
#8A1683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A1683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1683
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1683#FFFFFF#000000##FFFFFF
##8A16831.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024486
Deuteranopia (green-blind)
#3E5380
Tritanopia (blue-blind)
#90284E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1683;
/* rgb */ color: rgb(138, 22, 131);
/* oklch */ color: oklch(44.9% 0.187 331.0);
Tailwind
colors: {
  custom: {
    50: '#b065a7',
    500: '#8a1683',
    950: '#000000',
  },
}
SCSS
$custom: #8a1683;
$custom-light: #b065a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1683",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 303.621,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44892,
    "c": 0.18727,
    "h": 331
  },
  "luminance": 0.07616
}

Semantic roles & 50–950 ramp

primary
#8A1683
secondary
#3EBE46
accent
#EF4439
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A1683

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

Preview Lab → · Contrast checker → · Palette generator →

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