#8A2087#8A2087

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

Color values

HEX#8A2087
RGBrgb(138, 32, 135)
HSLhsl(302, 62%, 33%)
HSVhsv(302, 77%, 54%)
CMYKcmyk(0%, 76.8%, 2.2%, 45.9%)
CIE-LABlab(34.37, 55.30, -33.44)
CIE-LCHlch(34.37, 64.63, 328.84°)
OKLaboklab(45.82% 0.1558 -0.0925)
OKLCHoklch(45.82% 0.181 329.3)
XYZxyz(15.3708, 8.1867, 23.6876)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2087 #208A23
analogous
#58208A #8A2087 #8A2052
triadic
#8A2087 #878A20 #20878A
tetradic
#8A2087 #8A5820 #208A23 #20528A
square
#8A2087 #8A5820 #208A23 #20528A
split-complementary
#8A2087 #528A20 #208A58
monochromatic
#270926 #581456 #8A2087 #BC2CB8 #D64ED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2087#FFFFFF#000000##FFFFFF
##8A20871.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)
#0E488A
Deuteranopia (green-blind)
#405684
Tritanopia (blue-blind)
#8F3052
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2087;
/* rgb */ color: rgb(138, 32, 135);
/* oklch */ color: oklch(45.8% 0.181 329.3);
Tailwind
colors: {
  custom: {
    50: '#b068aa',
    500: '#8a2087',
    950: '#000000',
  },
}
SCSS
$custom: #8a2087;
$custom-light: #b068aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2087",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 301.698,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.18118,
    "h": 329.3
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#8A2087
secondary
#4DB950
accent
#E54742
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2087

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

Preview Lab → · Contrast checker → · Palette generator →

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