#8A208F#8A208F

#8A208F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.188 H 326.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8A208F
RGBrgb(138, 32, 143)
HSLhsl(297, 63%, 34%)
HSVhsv(297, 78%, 56%)
CMYKcmyk(3.5%, 77.6%, 0%, 43.9%)
CIE-LABlab(34.84, 56.67, -37.62)
CIE-LCHlch(34.84, 68.02, 326.42°)
OKLaboklab(46.31% 0.1556 -0.1047)
OKLCHoklch(46.31% 0.188 326.1)
XYZxyz(15.9554, 8.4206, 26.7662)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A208F #258F20
analogous
#53208F #8A208F #8F205D
triadic
#8A208F #8F8A20 #208F8A
tetradic
#8A208F #8F5320 #258F20 #205D8F
square
#8A208F #8F5320 #258F20 #205D8F
split-complementary
#8A208F #5D8F20 #208F53
monochromatic
#290A2B #5A155D #8A208F #BA2BC1 #D251D8

Accessibility & contrast

On white

7.82
#8A208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8A208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A208F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A208F#FFFFFF#000000##FFFFFF
##8A208F1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#3B568C
Tritanopia (blue-blind)
#8E3457
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a208f;
/* rgb */ color: rgb(138, 32, 143);
/* oklch */ color: oklch(46.3% 0.188 326.1);
Tailwind
colors: {
  custom: {
    50: '#b068b0',
    500: '#8a208f',
    950: '#000000',
  },
}
SCSS
$custom: #8a208f;
$custom-light: #b068b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a208f",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 297.297,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46311,
    "c": 0.18751,
    "h": 326.1
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#8A208F
secondary
#54BB4F
accent
#E64149
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A208F

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

Preview Lab → · Contrast checker → · Palette generator →

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