#8A208D#8A208D

#8A208D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.186 H 326.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8A208D
RGBrgb(138, 32, 141)
HSLhsl(298, 63%, 34%)
HSVhsv(298, 77%, 55%)
CMYKcmyk(2.1%, 77.3%, 0%, 44.7%)
CIE-LABlab(34.72, 56.32, -36.59)
CIE-LCHlch(34.72, 67.16, 326.99°)
OKLaboklab(46.19% 0.1557 -0.1016)
OKLCHoklch(46.19% 0.186 326.9)
XYZxyz(15.8052, 8.3605, 25.9754)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A208D #238D20
analogous
#54208D #8A208D #8D205A
triadic
#8A208D #8D8A20 #208D8A
tetradic
#8A208D #8D5420 #238D20 #205A8D
square
#8A208D #8D5420 #238D20 #205A8D
split-complementary
#8A208D #5A8D20 #208D54
monochromatic
#280929 #59155B #8A208D #BB2BBF #D450D7

Accessibility & contrast

On white

7.86
#8A208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A208D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A208D#FFFFFF#000000##FFFFFF
##8A208D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#8E3356
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a208d;
/* rgb */ color: rgb(138, 32, 141);
/* oklch */ color: oklch(46.2% 0.186 326.9);
Tailwind
colors: {
  custom: {
    50: '#b068af',
    500: '#8a208d',
    950: '#000000',
  },
}
SCSS
$custom: #8a208d;
$custom-light: #b068af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a208d",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 298.349,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46186,
    "c": 0.18592,
    "h": 326.9
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#8A208D
secondary
#51BA4E
accent
#E64246
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A208D

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

Preview Lab → · Contrast checker → · Palette generator →

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