#8A208E#8A208E

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

Color values

HEX#8A208E
RGBrgb(138, 32, 142)
HSLhsl(298, 63%, 34%)
HSVhsv(298, 77%, 56%)
CMYKcmyk(2.8%, 77.5%, 0%, 44.3%)
CIE-LABlab(34.78, 56.49, -37.11)
CIE-LCHlch(34.78, 67.59, 326.70°)
OKLaboklab(46.25% 0.1556 -0.1032)
OKLCHoklch(46.25% 0.187 326.5)
XYZxyz(15.8799, 8.3904, 26.3691)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A208E #248E20
analogous
#53208E #8A208E #8E205B
triadic
#8A208E #8E8A20 #208E8A
tetradic
#8A208E #8E5320 #248E20 #205B8E
square
#8A208E #8E5320 #248E20 #205B8E
split-complementary
#8A208E #5B8E20 #208E53
monochromatic
#29092A #59155C #8A208E #BB2BC0 #D351D8

Accessibility & contrast

On white

7.84
#8A208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A208E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A208E#FFFFFF#000000##FFFFFF
##8A208E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a208e;
/* rgb */ color: rgb(138, 32, 142);
/* oklch */ color: oklch(46.2% 0.187 326.5);
Tailwind
colors: {
  custom: {
    50: '#b068af',
    500: '#8a208e',
    950: '#000000',
  },
}
SCSS
$custom: #8a208e;
$custom-light: #b068af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a208e",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 297.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46248,
    "c": 0.18672,
    "h": 326.5
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#8A208E
secondary
#53BB4F
accent
#E64248
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A208E

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

Preview Lab → · Contrast checker → · Palette generator →

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