#8A207D#8A207D

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

Color values

HEX#8A207D
RGBrgb(138, 32, 125)
HSLhsl(307, 62%, 33%)
HSVhsv(307, 77%, 54%)
CMYKcmyk(0%, 76.8%, 9.4%, 45.9%)
CIE-LABlab(33.81, 53.68, -28.09)
CIE-LCHlch(33.81, 60.59, 332.37°)
OKLaboklab(45.24% 0.1555 -0.077)
OKLCHoklch(45.24% 0.174 333.6)
XYZxyz(14.6995, 7.9182, 20.1523)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A207D #208A2D
analogous
#62208A #8A207D #8A2048
triadic
#8A207D #7D8A20 #207D8A
tetradic
#8A207D #8A6220 #208A2D #20488A
square
#8A207D #8A6220 #208A2D #20488A
split-complementary
#8A207D #488A20 #208A62
monochromatic
#270923 #581450 #8A207D #BC2CAA #D64EC5

Accessibility & contrast

On white

8.13
#8A207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A207D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A207D#FFFFFF#000000##FFFFFF
##8A207D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4680
Deuteranopia (green-blind)
#45557A
Tritanopia (blue-blind)
#912B4D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a207d;
/* rgb */ color: rgb(138, 32, 125);
/* oklch */ color: oklch(45.2% 0.174 333.6);
Tailwind
colors: {
  custom: {
    50: '#b068a3',
    500: '#8a207d',
    950: '#000000',
  },
}
SCSS
$custom: #8a207d;
$custom-light: #b068a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a207d",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 307.358,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4524,
    "c": 0.17353,
    "h": 333.6
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#8A207D
secondary
#4DB95A
accent
#E55642
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A207D

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

Preview Lab → · Contrast checker → · Palette generator →

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