#8A1D85#8A1D85

#8A1D85 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.183 H 330.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8A1D85
RGBrgb(138, 29, 133)
HSLhsl(303, 65%, 33%)
HSVhsv(303, 79%, 54%)
CMYKcmyk(0%, 79%, 3.6%, 45.9%)
CIE-LABlab(33.93, 55.89, -32.89)
CIE-LCHlch(33.93, 64.85, 329.52°)
OKLaboklab(45.47% 0.1584 -0.0909)
OKLCHoklch(45.47% 0.183 330.2)
XYZxyz(15.1542, 7.9767, 22.9273)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D85 #1D8A22
analogous
#581D8A #8A1D85 #8A1D4F
triadic
#8A1D85 #858A1D #1D858A
tetradic
#8A1D85 #8A581D #1D8A22 #1D4F8A
square
#8A1D85 #8A581D #1D8A22 #1D4F8A
split-complementary
#8A1D85 #4F8A1D #1D8A58
monochromatic
#250824 #571254 #8A1D85 #BD28B6 #D949D2

Accessibility & contrast

On white

8.09
#8A1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D85
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D85#FFFFFF#000000##FFFFFF
##8A1D851.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4688
Deuteranopia (green-blind)
#3F5582
Tritanopia (blue-blind)
#8F2D50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1d85;
/* rgb */ color: rgb(138, 29, 133);
/* oklch */ color: oklch(45.5% 0.183 330.2);
Tailwind
colors: {
  custom: {
    50: '#b067a9',
    500: '#8a1d85',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d85;
$custom-light: #b067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d85",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 302.752,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45472,
    "c": 0.18263,
    "h": 330.2
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#8A1D85
secondary
#48BB4D
accent
#E84740
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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