#8A206C#8A206C

#8A206C is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.162 H 341.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8A206C
RGBrgb(138, 32, 108)
HSLhsl(317, 62%, 33%)
HSVhsv(317, 77%, 54%)
CMYKcmyk(0%, 76.8%, 21.7%, 45.9%)
CIE-LABlab(32.96, 51.14, -18.68)
CIE-LCHlch(32.96, 54.45, 339.94°)
OKLaboklab(44.35% 0.1536 -0.0502)
OKLCHoklch(44.35% 0.162 341.9)
XYZxyz(13.7050, 7.5204, 14.9143)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A206C #208A3E
analogous
#73208A #8A206C #8A2037
triadic
#8A206C #6C8A20 #206C8A
tetradic
#8A206C #8A7320 #208A3E #20378A
square
#8A206C #8A7320 #208A3E #20378A
split-complementary
#8A206C #378A20 #208A73
monochromatic
#27091E #581445 #8A206C #BC2C93 #D64EB0

Accessibility & contrast

On white

8.39
#8A206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A206C
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A206C#FFFFFF#000000##FFFFFF
##8A206C1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A436E
Deuteranopia (green-blind)
#4C546A
Tritanopia (blue-blind)
#932243
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a206c;
/* rgb */ color: rgb(138, 32, 108);
/* oklch */ color: oklch(44.4% 0.162 341.9);
Tailwind
colors: {
  custom: {
    50: '#b06796',
    500: '#8a206c',
    950: '#000000',
  },
}
SCSS
$custom: #8a206c;
$custom-light: #b06796;
$custom-dark: #000000;
JSON
{
  "hex": "#8a206c",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 316.981,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44352,
    "c": 0.16155,
    "h": 341.9
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#8A206C
secondary
#4DB96B
accent
#E57142
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A206C

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

Preview Lab → · Contrast checker → · Palette generator →

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