#8A2185#8A2185

#8A2185 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.179 H 330.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8A2185
RGBrgb(138, 33, 133)
HSLhsl(303, 61%, 34%)
HSVhsv(303, 76%, 54%)
CMYKcmyk(0%, 76.1%, 3.6%, 45.9%)
CIE-LABlab(34.37, 54.65, -32.21)
CIE-LCHlch(34.37, 63.43, 329.49°)
OKLaboklab(45.78% 0.1548 -0.0889)
OKLCHoklch(45.78% 0.179 330.1)
XYZxyz(15.2587, 8.1856, 22.9621)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2185 #218A26
analogous
#5A218A #8A2185 #8A2150
triadic
#8A2185 #858A21 #21858A
tetradic
#8A2185 #8A5A21 #218A26 #21508A
square
#8A2185 #8A5A21 #218A26 #21508A
split-complementary
#8A2185 #508A21 #218A5A
monochromatic
#270926 #591555 #8A2185 #BB2DB5 #D550CF

Accessibility & contrast

On white

7.96
#8A2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2185
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2185#FFFFFF#000000##FFFFFF
##8A21851.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2185;
/* rgb */ color: rgb(138, 33, 133);
/* oklch */ color: oklch(45.8% 0.179 330.1);
Tailwind
colors: {
  custom: {
    50: '#b068a9',
    500: '#8a2185',
    950: '#000000',
  },
}
SCSS
$custom: #8a2185;
$custom-light: #b068a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2185",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 302.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45781,
    "c": 0.17857,
    "h": 330.1
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#8A2185
secondary
#4EB953
accent
#E54B43
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2185

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

Preview Lab → · Contrast checker → · Palette generator →

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