#8A1888#8A1888

#8A1888 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.189 H 329.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8A1888
RGBrgb(138, 24, 136)
HSLhsl(301, 70%, 32%)
HSVhsv(301, 83%, 54%)
CMYKcmyk(0%, 82.6%, 1.4%, 45.9%)
CIE-LABlab(33.64, 57.75, -35.23)
CIE-LCHlch(33.64, 67.65, 328.62°)
OKLaboklab(45.32% 0.1623 -0.0976)
OKLCHoklch(45.32% 0.189 329)
XYZxyz(15.2517, 7.8353, 23.9969)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1888 #188A1A
analogous
#53188A #8A1888 #8A184F
triadic
#8A1888 #888A18 #18888A
tetradic
#8A1888 #8A5318 #188A1A #184F8A
square
#8A1888 #8A5318 #188A1A #184F8A
split-complementary
#8A1888 #4F8A18 #188A53
monochromatic
#220621 #560F55 #8A1888 #BE21BB #DE3FDB

Accessibility & contrast

On white

8.18
#8A1888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A1888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1888
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1888#FFFFFF#000000##FFFFFF
##8A18881.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#8F2C51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1888;
/* rgb */ color: rgb(138, 24, 136);
/* oklch */ color: oklch(45.3% 0.189 329.0);
Tailwind
colors: {
  custom: {
    50: '#b065ab',
    500: '#8a1888',
    950: '#000000',
  },
}
SCSS
$custom: #8a1888;
$custom-light: #b065ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1888",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 301.053,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45317,
    "c": 0.18938,
    "h": 329
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#8A1888
secondary
#40BD43
accent
#ED3E3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8A1888

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

Preview Lab → · Contrast checker → · Palette generator →

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