#8A207E#8A207E

#8A207E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.174 H 333.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8A207E
RGBrgb(138, 32, 126)
HSLhsl(307, 62%, 33%)
HSVhsv(307, 77%, 54%)
CMYKcmyk(0%, 76.8%, 8.7%, 45.9%)
CIE-LABlab(33.87, 53.84, -28.64)
CIE-LCHlch(33.87, 60.98, 331.99°)
OKLaboklab(45.3% 0.1556 -0.0786)
OKLCHoklch(45.3% 0.174 333.2)
XYZxyz(14.7637, 7.9439, 20.4904)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A207E #208A2C
analogous
#61208A #8A207E #8A2049
triadic
#8A207E #7E8A20 #207E8A
tetradic
#8A207E #8A6120 #208A2C #20498A
square
#8A207E #8A6120 #208A2C #20498A
split-complementary
#8A207E #498A20 #208A61
monochromatic
#270923 #581451 #8A207E #BC2CAB #D64EC7

Accessibility & contrast

On white

8.11
#8A207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A207E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A207E#FFFFFF#000000##FFFFFF
##8A207E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4681
Deuteranopia (green-blind)
#44557B
Tritanopia (blue-blind)
#902B4D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a207e;
/* rgb */ color: rgb(138, 32, 126);
/* oklch */ color: oklch(45.3% 0.174 333.2);
Tailwind
colors: {
  custom: {
    50: '#b068a4',
    500: '#8a207e',
    950: '#000000',
  },
}
SCSS
$custom: #8a207e;
$custom-light: #b068a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a207e",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 306.792,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45296,
    "c": 0.17428,
    "h": 333.2
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#8A207E
secondary
#4DB959
accent
#E55542
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A207E

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

Preview Lab → · Contrast checker → · Palette generator →

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