#8A1D83#8A1D83

#8A1D83 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.181 H 331.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8A1D83
RGBrgb(138, 29, 131)
HSLhsl(304, 65%, 33%)
HSVhsv(304, 79%, 54%)
CMYKcmyk(0%, 79%, 5.1%, 45.9%)
CIE-LABlab(33.82, 55.57, -31.83)
CIE-LCHlch(33.82, 64.04, 330.19°)
OKLaboklab(45.35% 0.1584 -0.0878)
OKLCHoklch(45.35% 0.181 331)
XYZxyz(15.0173, 7.9219, 22.2065)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D83 #1D8A24
analogous
#5A1D8A #8A1D83 #8A1D4D
triadic
#8A1D83 #838A1D #1D838A
tetradic
#8A1D83 #8A5A1D #1D8A24 #1D4D8A
square
#8A1D83 #8A5A1D #1D8A24 #1D4D8A
split-complementary
#8A1D83 #4D8A1D #1D8A5A
monochromatic
#250823 #571253 #8A1D83 #BD28B3 #D949CF

Accessibility & contrast

On white

8.13
#8A1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D83
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D83#FFFFFF#000000##FFFFFF
##8A1D831.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104686
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#902C4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1d83;
/* rgb */ color: rgb(138, 29, 131);
/* oklch */ color: oklch(45.4% 0.181 331.0);
Tailwind
colors: {
  custom: {
    50: '#b067a7',
    500: '#8a1d83',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d83;
$custom-light: #b067a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d83",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 303.853,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.18112,
    "h": 331
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#8A1D83
secondary
#48BB4F
accent
#E84A40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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