#8A209B#8A209B

#8A209B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.197 H 321.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8A209B
RGBrgb(138, 32, 155)
HSLhsl(292, 66%, 37%)
HSVhsv(292, 79%, 61%)
CMYKcmyk(11%, 79.4%, 0%, 39.2%)
CIE-LABlab(35.60, 58.80, -43.74)
CIE-LCHlch(35.60, 73.29, 323.36°)
OKLaboklab(47.09% 0.1546 -0.1225)
OKLCHoklch(47.09% 0.197 321.6)
XYZxyz(16.9135, 8.8038, 31.8124)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A209B #319B20
analogous
#4D209B #8A209B #9B206F
triadic
#8A209B #9B8A20 #209B8A
tetradic
#8A209B #9B4D20 #319B20 #206F9B
square
#8A209B #9B4D20 #319B20 #206F9B
split-complementary
#8A209B #6F9B20 #209B4D
monochromatic
#300B36 #5D1668 #8A209B #B72ACE #CA59DD

Accessibility & contrast

On white

7.61
#8A209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8A209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A209B
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A209B#FFFFFF#000000##FFFFFF
##8A209B1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#315798
Tritanopia (blue-blind)
#8B3A5E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a209b;
/* rgb */ color: rgb(138, 32, 155);
/* oklch */ color: oklch(47.1% 0.197 321.6);
Tailwind
colors: {
  custom: {
    50: '#b069b9',
    500: '#8a209b',
    950: '#000000',
  },
}
SCSS
$custom: #8a209b;
$custom-light: #b069b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a209b",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 291.707,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47093,
    "c": 0.19729,
    "h": 321.6
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#8A209B
secondary
#65C156
accent
#E93F57
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A209B

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

Preview Lab → · Contrast checker → · Palette generator →

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