#8A207A#8A207A

#8A207A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.171 H 335.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8A207A
RGBrgb(138, 32, 122)
HSLhsl(309, 62%, 33%)
HSVhsv(309, 77%, 54%)
CMYKcmyk(0%, 76.8%, 11.6%, 45.9%)
CIE-LABlab(33.65, 53.21, -26.46)
CIE-LCHlch(33.65, 59.43, 333.56°)
OKLaboklab(45.08% 0.1553 -0.0723)
OKLCHoklch(45.08% 0.171 335)
XYZxyz(14.5108, 7.8427, 19.1581)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A207A #208A30
analogous
#65208A #8A207A #8A2045
triadic
#8A207A #7A8A20 #207A8A
tetradic
#8A207A #8A6520 #208A30 #20458A
square
#8A207A #8A6520 #208A30 #20458A
split-complementary
#8A207A #458A20 #208A65
monochromatic
#270922 #58144E #8A207A #BC2CA6 #D64EC2

Accessibility & contrast

On white

8.18
#8A207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A207A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A207A#FFFFFF#000000##FFFFFF
##8A207A1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#465578
Tritanopia (blue-blind)
#91294B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a207a;
/* rgb */ color: rgb(138, 32, 122);
/* oklch */ color: oklch(45.1% 0.171 335.0);
Tailwind
colors: {
  custom: {
    50: '#b068a1',
    500: '#8a207a',
    950: '#000000',
  },
}
SCSS
$custom: #8a207a;
$custom-light: #b068a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a207a",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 309.057,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45075,
    "c": 0.17132,
    "h": 335
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#8A207A
secondary
#4DB95D
accent
#E55B42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8A207A

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

Preview Lab → · Contrast checker → · Palette generator →

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