#8A2180#8A2180

#8A2180 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.175 H 332.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8A2180
RGBrgb(138, 33, 128)
HSLhsl(306, 61%, 34%)
HSVhsv(306, 76%, 54%)
CMYKcmyk(0%, 76.1%, 7.2%, 45.9%)
CIE-LABlab(34.09, 53.83, -29.53)
CIE-LCHlch(34.09, 61.40, 331.25°)
OKLaboklab(45.49% 0.1547 -0.0812)
OKLCHoklch(45.49% 0.175 332.3)
XYZxyz(14.9214, 8.0507, 21.1860)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2180 #218A2B
analogous
#5F218A #8A2180 #8A214B
triadic
#8A2180 #808A21 #21808A
tetradic
#8A2180 #8A5F21 #218A2B #214B8A
square
#8A2180 #8A5F21 #218A2B #214B8A
split-complementary
#8A2180 #4B8A21 #218A5F
monochromatic
#270924 #591552 #8A2180 #BB2DAE #D550C9

Accessibility & contrast

On white

8.05
#8A2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2180
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2180#FFFFFF#000000##FFFFFF
##8A21801.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4783
Deuteranopia (green-blind)
#44557D
Tritanopia (blue-blind)
#902D4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2180;
/* rgb */ color: rgb(138, 33, 128);
/* oklch */ color: oklch(45.5% 0.175 332.3);
Tailwind
colors: {
  custom: {
    50: '#b068a5',
    500: '#8a2180',
    950: '#000000',
  },
}
SCSS
$custom: #8a2180;
$custom-light: #b068a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2180",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 305.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45491,
    "c": 0.17472,
    "h": 332.3
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#8A2180
secondary
#4EB958
accent
#E55343
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2180

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

Preview Lab → · Contrast checker → · Palette generator →

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