#8A2E80#8A2E80

#8A2E80 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.7% C 0.158 H 332.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8A2E80
RGBrgb(138, 46, 128)
HSLhsl(307, 50%, 36%)
HSVhsv(307, 67%, 54%)
CMYKcmyk(0%, 66.7%, 7.2%, 45.9%)
CIE-LABlab(35.82, 48.93, -26.80)
CIE-LCHlch(35.82, 55.79, 331.29°)
OKLaboklab(46.74% 0.1405 -0.0734)
OKLCHoklch(46.74% 0.158 332.4)
XYZxyz(15.3545, 8.9170, 21.3303)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E80 #2E8A38
analogous
#662E8A #8A2E80 #8A2E52
triadic
#8A2E80 #808A2E #2E808A
tetradic
#8A2E80 #8A662E #2E8A38 #2E528A
square
#8A2E80 #8A662E #2E8A38 #2E528A
split-complementary
#8A2E80 #528A2E #2E8A66
monochromatic
#2E0F2B #5C1F55 #8A2E80 #B83DAB #CC66C1

Accessibility & contrast

On white

7.55
#8A2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8A2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E80
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E80#FFFFFF#000000##FFFFFF
##8A2E801.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C82
Deuteranopia (green-blind)
#4A597E
Tritanopia (blue-blind)
#903653
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2e80;
/* rgb */ color: rgb(138, 46, 128);
/* oklch */ color: oklch(46.7% 0.158 332.4);
Tailwind
colors: {
  custom: {
    50: '#af6ea5',
    500: '#8a2e80',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e80;
$custom-light: #af6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e80",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 306.522,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46744,
    "c": 0.15849,
    "h": 332.4
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#8A2E80
secondary
#61B36A
accent
#DA5D4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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