#8A2189#8A2189

#8A2189 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.182 H 328.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8A2189
RGBrgb(138, 33, 137)
HSLhsl(301, 61%, 34%)
HSVhsv(301, 76%, 54%)
CMYKcmyk(0%, 76.1%, 0.7%, 45.9%)
CIE-LABlab(34.60, 55.32, -34.32)
CIE-LCHlch(34.60, 65.10, 328.18°)
OKLaboklab(46.02% 0.1549 -0.0951)
OKLCHoklch(46.02% 0.182 328.5)
XYZxyz(15.5403, 8.2983, 24.4453)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2189 #218A22
analogous
#56218A #8A2189 #8A2154
triadic
#8A2189 #898A21 #21898A
tetradic
#8A2189 #8A5621 #218A22 #21548A
square
#8A2189 #8A5621 #218A22 #21548A
split-complementary
#8A2189 #548A21 #218A56
monochromatic
#270927 #591558 #8A2189 #BB2DBA #D550D4

Accessibility & contrast

On white

7.90
#8A2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2189
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2189#FFFFFF#000000##FFFFFF
##8A21891.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498C
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#8F3154
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2189;
/* rgb */ color: rgb(138, 33, 137);
/* oklch */ color: oklch(46.0% 0.182 328.5);
Tailwind
colors: {
  custom: {
    50: '#b069ac',
    500: '#8a2189',
    950: '#000000',
  },
}
SCSS
$custom: #8a2189;
$custom-light: #b069ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2189",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 300.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46019,
    "c": 0.18171,
    "h": 328.5
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#8A2189
secondary
#4EB94F
accent
#E54543
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2189

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

Preview Lab → · Contrast checker → · Palette generator →

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