#8A2079#8A2079

#8A2079 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.171 H 335.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8A2079
RGBrgb(138, 32, 121)
HSLhsl(310, 62%, 33%)
HSVhsv(310, 77%, 54%)
CMYKcmyk(0%, 76.8%, 12.3%, 45.9%)
CIE-LABlab(33.60, 53.05, -25.92)
CIE-LCHlch(33.60, 59.05, 333.97°)
OKLaboklab(45.02% 0.1552 -0.0708)
OKLCHoklch(45.02% 0.171 335.5)
XYZxyz(14.4491, 7.8181, 18.8335)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2079 #208A31
analogous
#66208A #8A2079 #8A2044
triadic
#8A2079 #798A20 #20798A
tetradic
#8A2079 #8A6620 #208A31 #20448A
square
#8A2079 #8A6620 #208A31 #20448A
split-complementary
#8A2079 #448A20 #208A66
monochromatic
#270922 #58144D #8A2079 #BC2CA5 #D64EC0

Accessibility & contrast

On white

8.19
#8A2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2079
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2079#FFFFFF#000000##FFFFFF
##8A20791.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#475577
Tritanopia (blue-blind)
#91294A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2079;
/* rgb */ color: rgb(138, 32, 121);
/* oklch */ color: oklch(45.0% 0.171 335.5);
Tailwind
colors: {
  custom: {
    50: '#b068a0',
    500: '#8a2079',
    950: '#000000',
  },
}
SCSS
$custom: #8a2079;
$custom-light: #b068a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2079",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 309.623,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4502,
    "c": 0.17059,
    "h": 335.5
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#8A2079
secondary
#4DB95E
accent
#E55D42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2079

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

Preview Lab → · Contrast checker → · Palette generator →

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