#8A2D80#8A2D80

#8A2D80 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.160 H 332.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8A2D80
RGBrgb(138, 45, 128)
HSLhsl(306, 51%, 36%)
HSVhsv(306, 67%, 54%)
CMYKcmyk(0%, 67.4%, 7.2%, 45.9%)
CIE-LABlab(35.67, 49.35, -27.04)
CIE-LCHlch(35.67, 56.28, 331.28°)
OKLaboklab(46.64% 0.1417 -0.0741)
OKLCHoklch(46.64% 0.16 332.4)
XYZxyz(15.3159, 8.8397, 21.3175)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D80 #2D8A37
analogous
#652D8A #8A2D80 #8A2D51
triadic
#8A2D80 #808A2D #2D808A
tetradic
#8A2D80 #8A652D #2D8A37 #2D518A
square
#8A2D80 #8A652D #2D8A37 #2D518A
split-complementary
#8A2D80 #518A2D #2D8A65
monochromatic
#2E0F2A #5C1E55 #8A2D80 #B83CAB #CD65C2

Accessibility & contrast

On white

7.59
#8A2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A2D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D80
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D80#FFFFFF#000000##FFFFFF
##8A2D801.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B82
Deuteranopia (green-blind)
#49597E
Tritanopia (blue-blind)
#903652
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2d80;
/* rgb */ color: rgb(138, 45, 128);
/* oklch */ color: oklch(46.6% 0.160 332.4);
Tailwind
colors: {
  custom: {
    50: '#af6ea5',
    500: '#8a2d80',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d80;
$custom-light: #af6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d80",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 306.452,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46635,
    "c": 0.15988,
    "h": 332.4
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#8A2D80
secondary
#60B369
accent
#DA5D4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A2D80

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

Preview Lab → · Contrast checker → · Palette generator →

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