#8A207F#8A207F

#8A207F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.175 H 332.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8A207F
RGBrgb(138, 32, 127)
HSLhsl(306, 62%, 33%)
HSVhsv(306, 77%, 54%)
CMYKcmyk(0%, 76.8%, 8%, 45.9%)
CIE-LABlab(33.92, 54.00, -29.18)
CIE-LCHlch(33.92, 61.37, 331.62°)
OKLaboklab(45.35% 0.1556 -0.0801)
OKLCHoklch(45.35% 0.175 332.7)
XYZxyz(14.8286, 7.9699, 20.8319)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A207F #208A2B
analogous
#60208A #8A207F #8A204A
triadic
#8A207F #7F8A20 #207F8A
tetradic
#8A207F #8A6020 #208A2B #204A8A
square
#8A207F #8A6020 #208A2B #204A8A
split-complementary
#8A207F #4A8A20 #208A60
monochromatic
#270924 #581451 #8A207F #BC2CAD #D64EC8

Accessibility & contrast

On white

8.10
#8A207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A207F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A207F#FFFFFF#000000##FFFFFF
##8A207F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4682
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#902C4E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a207f;
/* rgb */ color: rgb(138, 32, 127);
/* oklch */ color: oklch(45.4% 0.175 332.7);
Tailwind
colors: {
  custom: {
    50: '#b068a4',
    500: '#8a207f',
    950: '#000000',
  },
}
SCSS
$custom: #8a207f;
$custom-light: #b068a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a207f",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 306.226,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.17503,
    "h": 332.7
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#8A207F
secondary
#4DB958
accent
#E55342
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A207F

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

Preview Lab → · Contrast checker → · Palette generator →

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