#8A247A#8A247A

#8A247A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.167 H 335.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8A247A
RGBrgb(138, 36, 122)
HSLhsl(309, 59%, 34%)
HSVhsv(309, 74%, 54%)
CMYKcmyk(0%, 73.9%, 11.6%, 45.9%)
CIE-LABlab(34.13, 51.85, -25.71)
CIE-LCHlch(34.13, 57.87, 333.62°)
OKLaboklab(45.42% 0.1513 -0.0702)
OKLCHoklch(45.42% 0.167 335.1)
XYZxyz(14.6251, 8.0714, 19.1963)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A247A #248A34
analogous
#67248A #8A247A #8A2447
triadic
#8A247A #7A8A24 #247A8A
tetradic
#8A247A #8A6724 #248A34 #24478A
square
#8A247A #8A6724 #248A34 #24478A
split-complementary
#8A247A #478A24 #248A67
monochromatic
#290B24 #59174F #8A247A #BB31A5 #D356BF

Accessibility & contrast

On white

8.03
#8A247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A247A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A247A#FFFFFF#000000##FFFFFF
##8A247A1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477C
Deuteranopia (green-blind)
#485678
Tritanopia (blue-blind)
#912C4C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a247a;
/* rgb */ color: rgb(138, 36, 122);
/* oklch */ color: oklch(45.4% 0.167 335.1);
Tailwind
colors: {
  custom: {
    50: '#af69a0',
    500: '#8a247a',
    950: '#000000',
  },
}
SCSS
$custom: #8a247a;
$custom-light: #af69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a247a",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 309.412,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45419,
    "c": 0.16677,
    "h": 335.1
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#8A247A
secondary
#53B763
accent
#E25E46
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8A247A

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

Preview Lab → · Contrast checker → · Palette generator →

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