#8A208B#8A208B

#8A208B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.184 H 327.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8A208B
RGBrgb(138, 32, 139)
HSLhsl(299, 63%, 34%)
HSVhsv(299, 77%, 55%)
CMYKcmyk(0.7%, 77%, 0%, 45.5%)
CIE-LABlab(34.60, 55.98, -35.55)
CIE-LCHlch(34.60, 66.31, 327.58°)
OKLaboklab(46.06% 0.1557 -0.0986)
OKLCHoklch(46.06% 0.184 327.7)
XYZxyz(15.6577, 8.3015, 25.1988)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A208B #218B20
analogous
#54208B #8A208B #8B2056
triadic
#8A208B #8B8A20 #208B8A
tetradic
#8A208B #8B5420 #218B20 #20568B
square
#8A208B #8B5420 #218B20 #20568B
split-complementary
#8A208B #568B20 #208B54
monochromatic
#270928 #591559 #8A208B #BB2BBD #D54FD6

Accessibility & contrast

On white

7.89
#8A208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A208B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A208B#FFFFFF#000000##FFFFFF
##8A208B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03498E
Deuteranopia (green-blind)
#3D5688
Tritanopia (blue-blind)
#8E3254
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a208b;
/* rgb */ color: rgb(138, 32, 139);
/* oklch */ color: oklch(46.1% 0.184 327.7);
Tailwind
colors: {
  custom: {
    50: '#b068ad',
    500: '#8a208b',
    950: '#000000',
  },
}
SCSS
$custom: #8a208b;
$custom-light: #b068ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a208b",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 299.439,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46062,
    "c": 0.18433,
    "h": 327.7
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#8A208B
secondary
#4EBA4D
accent
#E64244
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A208B

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

Preview Lab → · Contrast checker → · Palette generator →

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