#8A209E#8A209E

#8A209E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.200 H 320.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8A209E
RGBrgb(138, 32, 158)
HSLhsl(290, 66%, 37%)
HSVhsv(290, 80%, 62%)
CMYKcmyk(12.7%, 79.7%, 0%, 38%)
CIE-LABlab(35.80, 59.36, -45.24)
CIE-LCHlch(35.80, 74.63, 322.69°)
OKLaboklab(47.3% 0.1543 -0.1269)
OKLCHoklch(47.3% 0.2 320.6)
XYZxyz(17.1686, 8.9058, 33.1558)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A209E #349E20
analogous
#4B209E #8A209E #9E2073
triadic
#8A209E #9E8A20 #209E8A
tetradic
#8A209E #9E4B20 #349E20 #20739E
square
#8A209E #9E4B20 #349E20 #20739E
split-complementary
#8A209E #739E20 #209E4B
monochromatic
#310B38 #5E166B #8A209E #B62AD1 #C95BDE

Accessibility & contrast

On white

7.55
#8A209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8A209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A209E
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A209E#FFFFFF#000000##FFFFFF
##8A209E1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#2E589B
Tritanopia (blue-blind)
#8B3B5F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a209e;
/* rgb */ color: rgb(138, 32, 158);
/* oklch */ color: oklch(47.3% 0.200 320.6);
Tailwind
colors: {
  custom: {
    50: '#b069bb',
    500: '#8a209e',
    950: '#000000',
  },
}
SCSS
$custom: #8a209e;
$custom-light: #b069bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a209e",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 290.476,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47297,
    "c": 0.19977,
    "h": 320.6
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#8A209E
secondary
#69C258
accent
#E93F5A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A209E

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

Preview Lab → · Contrast checker → · Palette generator →

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