#8A20BF#8A20BF

#8A20BF is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.7% C 0.228 H 310.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8A20BF
RGBrgb(138, 32, 191)
HSLhsl(280, 71%, 44%)
HSVhsv(280, 83%, 75%)
CMYKcmyk(27.7%, 83.2%, 0%, 25.1%)
CIE-LABlab(38.20, 65.76, -61.04)
CIE-LCHlch(38.20, 89.72, 317.13°)
OKLaboklab(49.73% 0.1477 -0.1733)
OKLCHoklch(49.73% 0.228 310.4)
XYZxyz(20.3999, 10.1984, 50.1740)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A20BF #55BF20
analogous
#3A20BF #8A20BF #BF20A4
triadic
#8A20BF #BF8A20 #20BF8A
tetradic
#8A20BF #BF3A20 #55BF20 #20A4BF
square
#8A20BF #BF3A20 #55BF20 #20A4BF
split-complementary
#8A20BF #A4BF20 #20BF3A
monochromatic
#3E0E56 #64178B #8A20BF #A93EDF #C072E7

Accessibility & contrast

On white

6.91
#8A20BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A20BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A20BF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A20BF#FFFFFF#000000##FFFFFF
##8A20BF1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#824B72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a20bf;
/* rgb */ color: rgb(138, 32, 191);
/* oklch */ color: oklch(49.7% 0.228 310.4);
Tailwind
colors: {
  custom: {
    50: '#b26bd3',
    500: '#8a20bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a20bf;
$custom-light: #b26bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a20bf",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 191
  },
  "hsl": {
    "h": 280,
    "s": 71.3,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49727,
    "c": 0.2277,
    "h": 310.4
  },
  "luminance": 0.10198
}

Semantic roles & 50–950 ramp

primary
#8A20BF
secondary
#8DCE6D
accent
#EE3A76
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8A20BF

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

Preview Lab → · Contrast checker → · Palette generator →

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