#8A1890#8A1890

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

Color values

HEX#8A1890
RGBrgb(138, 24, 144)
HSLhsl(297, 71%, 33%)
HSVhsv(297, 83%, 56%)
CMYKcmyk(4.2%, 83.3%, 0%, 43.5%)
CIE-LABlab(34.13, 59.08, -39.38)
CIE-LCHlch(34.13, 71.00, 326.32°)
OKLaboklab(45.83% 0.1618 -0.1097)
OKLCHoklch(45.83% 0.195 325.8)
XYZxyz(15.8416, 8.0713, 27.1037)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1890 #1E9018
analogous
#4E1890 #8A1890 #90185A
triadic
#8A1890 #908A18 #18908A
tetradic
#8A1890 #904E18 #1E9018 #185A90
square
#8A1890 #904E18 #1E9018 #185A90
split-complementary
#8A1890 #5A9018 #18904E
monochromatic
#250727 #580F5C #8A1890 #BC21C4 #D843E0

Accessibility & contrast

On white

8.03
#8A1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A1890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1890
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1890#FFFFFF#000000##FFFFFF
##8A18901.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#8E3056
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1890;
/* rgb */ color: rgb(138, 24, 144);
/* oklch */ color: oklch(45.8% 0.195 325.8);
Tailwind
colors: {
  custom: {
    50: '#b066b1',
    500: '#8a1890',
    950: '#000000',
  },
}
SCSS
$custom: #8a1890;
$custom-light: #b066b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1890",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 297,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45825,
    "c": 0.19547,
    "h": 325.8
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#8A1890
secondary
#4AC043
accent
#EE3A43
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1890

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

Preview Lab → · Contrast checker → · Palette generator →

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