#8A209C#8A209C

#8A209C is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.2% C 0.198 H 321.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8A209C
RGBrgb(138, 32, 156)
HSLhsl(291, 66%, 37%)
HSVhsv(291, 79%, 61%)
CMYKcmyk(11.5%, 79.5%, 0%, 38.8%)
CIE-LABlab(35.67, 58.99, -44.24)
CIE-LCHlch(35.67, 73.73, 323.13°)
OKLaboklab(47.16% 0.1545 -0.124)
OKLCHoklch(47.16% 0.198 321.2)
XYZxyz(16.9978, 8.8375, 32.2565)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A209C #329C20
analogous
#4C209C #8A209C #9C2070
triadic
#8A209C #9C8A20 #209C8A
tetradic
#8A209C #9C4C20 #329C20 #20709C
square
#8A209C #9C4C20 #329C20 #20709C
split-complementary
#8A209C #709C20 #209C4C
monochromatic
#300B36 #5D1669 #8A209C #B72ACF #CA59DD

Accessibility & contrast

On white

7.59
#8A209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A209C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A209C#FFFFFF#000000##FFFFFF
##8A209C1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a209c;
/* rgb */ color: rgb(138, 32, 156);
/* oklch */ color: oklch(47.2% 0.198 321.2);
Tailwind
colors: {
  custom: {
    50: '#b069ba',
    500: '#8a209c',
    950: '#000000',
  },
}
SCSS
$custom: #8a209c;
$custom-light: #b069ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a209c",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 291.29,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47161,
    "c": 0.19811,
    "h": 321.2
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#8A209C
secondary
#66C157
accent
#E93F58
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A209C

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

Preview Lab → · Contrast checker → · Palette generator →

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