#8A2183#8A2183

#8A2183 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.177 H 331.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8A2183
RGBrgb(138, 33, 131)
HSLhsl(304, 61%, 34%)
HSVhsv(304, 76%, 54%)
CMYKcmyk(0%, 76.1%, 5.1%, 45.9%)
CIE-LABlab(34.25, 54.32, -31.14)
CIE-LCHlch(34.25, 62.61, 330.17°)
OKLaboklab(45.66% 0.1548 -0.0858)
OKLCHoklch(45.66% 0.177 331)
XYZxyz(15.1218, 8.1309, 22.2413)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2183 #218A28
analogous
#5C218A #8A2183 #8A214E
triadic
#8A2183 #838A21 #21838A
tetradic
#8A2183 #8A5C21 #218A28 #214E8A
square
#8A2183 #8A5C21 #218A28 #214E8A
split-complementary
#8A2183 #4E8A21 #218A5C
monochromatic
#270925 #591554 #8A2183 #BB2DB2 #D550CC

Accessibility & contrast

On white

8.00
#8A2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2183
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2183#FFFFFF#000000##FFFFFF
##8A21831.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164786
Deuteranopia (green-blind)
#425680
Tritanopia (blue-blind)
#902E50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2183;
/* rgb */ color: rgb(138, 33, 131);
/* oklch */ color: oklch(45.7% 0.177 331.0);
Tailwind
colors: {
  custom: {
    50: '#b068a7',
    500: '#8a2183',
    950: '#000000',
  },
}
SCSS
$custom: #8a2183;
$custom-light: #b068a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2183",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 304,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45664,
    "c": 0.17701,
    "h": 331
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#8A2183
secondary
#4EB955
accent
#E54E43
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2183

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

Preview Lab → · Contrast checker → · Palette generator →

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