#8A1C8C#8A1C8C

#8A1C8C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.189 H 327.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8A1C8C
RGBrgb(138, 28, 140)
HSLhsl(299, 67%, 33%)
HSVhsv(299, 80%, 55%)
CMYKcmyk(1.4%, 80%, 0%, 45.1%)
CIE-LABlab(34.25, 57.34, -36.73)
CIE-LCHlch(34.25, 68.09, 327.36°)
OKLaboklab(45.83% 0.1591 -0.102)
OKLCHoklch(45.83% 0.189 327.3)
XYZxyz(15.6299, 8.1284, 25.5516)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C8C #1E8C1C
analogous
#521C8C #8A1C8C #8C1C56
triadic
#8A1C8C #8C8A1C #1C8C8A
tetradic
#8A1C8C #8C521C #1E8C1C #1C568C
square
#8A1C8C #8C521C #1E8C1C #1C568C
split-complementary
#8A1C8C #568C1C #1C8C52
monochromatic
#250826 #581259 #8A1C8C #BC26BF #D848DA

Accessibility & contrast

On white

8.00
#8A1C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A1C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C8C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C8C#FFFFFF#000000##FFFFFF
##8A1C8C1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#3B5589
Tritanopia (blue-blind)
#8E3054
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a1c8c;
/* rgb */ color: rgb(138, 28, 140);
/* oklch */ color: oklch(45.8% 0.189 327.3);
Tailwind
colors: {
  custom: {
    50: '#b067ae',
    500: '#8a1c8c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c8c;
$custom-light: #b067ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c8c",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 298.929,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.18897,
    "h": 327.3
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

primary
#8A1C8C
secondary
#4ABC48
accent
#EA3E41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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