#8A2F80#8A2F80

#8A2F80 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.9% C 0.157 H 332.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8A2F80
RGBrgb(138, 47, 128)
HSLhsl(307, 49%, 36%)
HSVhsv(307, 66%, 54%)
CMYKcmyk(0%, 65.9%, 7.2%, 45.9%)
CIE-LABlab(35.98, 48.51, -26.57)
CIE-LCHlch(35.98, 55.31, 331.29°)
OKLaboklab(46.86% 0.1392 -0.0728)
OKLCHoklch(46.86% 0.157 332.4)
XYZxyz(15.3940, 8.9960, 21.3435)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F80 #2F8A39
analogous
#672F8A #8A2F80 #8A2F53
triadic
#8A2F80 #808A2F #2F808A
tetradic
#8A2F80 #8A672F #2F8A39 #2F538A
square
#8A2F80 #8A672F #2F8A39 #2F538A
split-complementary
#8A2F80 #538A2F #2F8A67
monochromatic
#2F102B #5C1F56 #8A2F80 #B83FAA #CC68C1

Accessibility & contrast

On white

7.50
#8A2F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A2F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F80
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F80#FFFFFF#000000##FFFFFF
##8A2F801.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C82
Deuteranopia (green-blind)
#4A597E
Tritanopia (blue-blind)
#903753
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2f80;
/* rgb */ color: rgb(138, 47, 128);
/* oklch */ color: oklch(46.9% 0.157 332.4);
Tailwind
colors: {
  custom: {
    50: '#af6fa5',
    500: '#8a2f80',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f80;
$custom-light: #af6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f80",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 306.593,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46855,
    "c": 0.15709,
    "h": 332.4
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

primary
#8A2F80
secondary
#62B36B
accent
#D95E4F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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