#8A1C85#8A1C85

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

Color values

HEX#8A1C85
RGBrgb(138, 28, 133)
HSLhsl(303, 66%, 33%)
HSVhsv(303, 80%, 54%)
CMYKcmyk(0%, 79.7%, 3.6%, 45.9%)
CIE-LABlab(33.83, 56.18, -33.05)
CIE-LCHlch(33.83, 65.18, 329.53°)
OKLaboklab(45.4% 0.1593 -0.0913)
OKLCHoklch(45.4% 0.184 330.2)
XYZxyz(15.1301, 7.9284, 22.9192)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C85 #1C8A21
analogous
#581C8A #8A1C85 #8A1C4E
triadic
#8A1C85 #858A1C #1C858A
tetradic
#8A1C85 #8A581C #1C8A21 #1C4E8A
square
#8A1C85 #8A581C #1C8A21 #1C4E8A
split-complementary
#8A1C85 #4E8A1C #1C8A58
monochromatic
#240723 #571254 #8A1C85 #BD26B6 #DA47D3

Accessibility & contrast

On white

8.12
#8A1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A1C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C85
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C85#FFFFFF#000000##FFFFFF
##8A1C851.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094688
Deuteranopia (green-blind)
#3F5582
Tritanopia (blue-blind)
#8F2C50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1c85;
/* rgb */ color: rgb(138, 28, 133);
/* oklch */ color: oklch(45.4% 0.184 330.2);
Tailwind
colors: {
  custom: {
    50: '#b067a9',
    500: '#8a1c85',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c85;
$custom-light: #b067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c85",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 302.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.454,
    "c": 0.18359,
    "h": 330.2
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#8A1C85
secondary
#46BB4C
accent
#E9463F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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