#8A2184#8A2184

#8A2184 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.178 H 330.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8A2184
RGBrgb(138, 33, 132)
HSLhsl(303, 61%, 34%)
HSVhsv(303, 76%, 54%)
CMYKcmyk(0%, 76.1%, 4.3%, 45.9%)
CIE-LABlab(34.31, 54.48, -31.68)
CIE-LCHlch(34.31, 63.02, 329.83°)
OKLaboklab(45.72% 0.1548 -0.0874)
OKLCHoklch(45.72% 0.178 330.6)
XYZxyz(15.1899, 8.1581, 22.6000)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2184 #218A27
analogous
#5B218A #8A2184 #8A214F
triadic
#8A2184 #848A21 #21848A
tetradic
#8A2184 #8A5B21 #218A27 #214F8A
square
#8A2184 #8A5B21 #218A27 #214F8A
split-complementary
#8A2184 #4F8A21 #218A5B
monochromatic
#270926 #591555 #8A2184 #BB2DB3 #D550CE

Accessibility & contrast

On white

7.98
#8A2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2184
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2184#FFFFFF#000000##FFFFFF
##8A21841.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154887
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#8F2F51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2184;
/* rgb */ color: rgb(138, 33, 132);
/* oklch */ color: oklch(45.7% 0.178 330.6);
Tailwind
colors: {
  custom: {
    50: '#b068a8',
    500: '#8a2184',
    950: '#000000',
  },
}
SCSS
$custom: #8a2184;
$custom-light: #b068a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2184",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 303.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45722,
    "c": 0.17779,
    "h": 330.6
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#8A2184
secondary
#4EB954
accent
#E54D43
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2184

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

Preview Lab → · Contrast checker → · Palette generator →

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