#8A247F#8A247F

#8A247F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.171 H 332.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8A247F
RGBrgb(138, 36, 127)
HSLhsl(306, 59%, 34%)
HSVhsv(306, 74%, 54%)
CMYKcmyk(0%, 73.9%, 8%, 45.9%)
CIE-LABlab(34.39, 52.65, -28.43)
CIE-LCHlch(34.39, 59.83, 331.63°)
OKLaboklab(45.69% 0.1517 -0.078)
OKLCHoklch(45.69% 0.171 332.8)
XYZxyz(14.9429, 8.1986, 20.8700)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A247F #248A2F
analogous
#62248A #8A247F #8A244C
triadic
#8A247F #7F8A24 #247F8A
tetradic
#8A247F #8A6224 #248A2F #244C8A
square
#8A247F #8A6224 #248A2F #244C8A
split-complementary
#8A247F #4C8A24 #248A62
monochromatic
#290B26 #591752 #8A247F #BB31AC #D356C5

Accessibility & contrast

On white

7.96
#8A247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A247F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A247F#FFFFFF#000000##FFFFFF
##8A247F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4882
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#902E4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a247f;
/* rgb */ color: rgb(138, 36, 127);
/* oklch */ color: oklch(45.7% 0.171 332.8);
Tailwind
colors: {
  custom: {
    50: '#af69a4',
    500: '#8a247f',
    950: '#000000',
  },
}
SCSS
$custom: #8a247f;
$custom-light: #af69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a247f",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 306.471,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45693,
    "c": 0.17056,
    "h": 332.8
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

primary
#8A247F
secondary
#53B75E
accent
#E25746
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A247F

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

Preview Lab → · Contrast checker → · Palette generator →

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