#8A207B#8A207B

#8A207B is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.172 H 334.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8A207B
RGBrgb(138, 32, 123)
HSLhsl(308, 62%, 33%)
HSVhsv(308, 77%, 54%)
CMYKcmyk(0%, 76.8%, 10.9%, 45.9%)
CIE-LABlab(33.71, 53.37, -27.01)
CIE-LCHlch(33.71, 59.81, 333.16°)
OKLaboklab(45.13% 0.1554 -0.0739)
OKLCHoklch(45.13% 0.172 334.6)
XYZxyz(14.5731, 7.8676, 19.4861)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A207B #208A2F
analogous
#64208A #8A207B #8A2046
triadic
#8A207B #7B8A20 #207B8A
tetradic
#8A207B #8A6420 #208A2F #20468A
square
#8A207B #8A6420 #208A2F #20468A
split-complementary
#8A207B #468A20 #208A64
monochromatic
#270922 #58144F #8A207B #BC2CA7 #D64EC3

Accessibility & contrast

On white

8.16
#8A207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A207B
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A207B#FFFFFF#000000##FFFFFF
##8A207B1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#465579
Tritanopia (blue-blind)
#912A4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a207b;
/* rgb */ color: rgb(138, 32, 123);
/* oklch */ color: oklch(45.1% 0.172 334.6);
Tailwind
colors: {
  custom: {
    50: '#b068a1',
    500: '#8a207b',
    950: '#000000',
  },
}
SCSS
$custom: #8a207b;
$custom-light: #b068a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a207b",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 308.491,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45129,
    "c": 0.17204,
    "h": 334.6
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#8A207B
secondary
#4DB95C
accent
#E55942
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8A207B

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

Preview Lab → · Contrast checker → · Palette generator →

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