#8A208C#8A208C

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

Color values

HEX#8A208C
RGBrgb(138, 32, 140)
HSLhsl(299, 63%, 34%)
HSVhsv(299, 77%, 55%)
CMYKcmyk(1.4%, 77.1%, 0%, 45.1%)
CIE-LABlab(34.66, 56.15, -36.07)
CIE-LCHlch(34.66, 66.73, 327.29°)
OKLaboklab(46.12% 0.1557 -0.1001)
OKLCHoklch(46.12% 0.185 327.3)
XYZxyz(15.7311, 8.3309, 25.5853)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A208C #228C20
analogous
#54208C #8A208C #8C2058
triadic
#8A208C #8C8A20 #208C8A
tetradic
#8A208C #8C5420 #228C20 #20588C
square
#8A208C #8C5420 #228C20 #20588C
split-complementary
#8A208C #588C20 #208C54
monochromatic
#280928 #59155A #8A208C #BB2BBE #D450D7

Accessibility & contrast

On white

7.88
#8A208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A208C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A208C#FFFFFF#000000##FFFFFF
##8A208C1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01498F
Deuteranopia (green-blind)
#3D5689
Tritanopia (blue-blind)
#8E3255
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a208c;
/* rgb */ color: rgb(138, 32, 140);
/* oklch */ color: oklch(46.1% 0.185 327.3);
Tailwind
colors: {
  custom: {
    50: '#b068ae',
    500: '#8a208c',
    950: '#000000',
  },
}
SCSS
$custom: #8a208c;
$custom-light: #b068ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a208c",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 298.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46124,
    "c": 0.18512,
    "h": 327.3
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#8A208C
secondary
#50BA4E
accent
#E64245
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A208C

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

Preview Lab → · Contrast checker → · Palette generator →

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