#8A247D#8A247D

#8A247D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.169 H 333.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8A247D
RGBrgb(138, 36, 125)
HSLhsl(308, 59%, 34%)
HSVhsv(308, 74%, 54%)
CMYKcmyk(0%, 73.9%, 9.4%, 45.9%)
CIE-LABlab(34.29, 52.32, -27.35)
CIE-LCHlch(34.29, 59.04, 332.41°)
OKLaboklab(45.58% 0.1515 -0.0749)
OKLCHoklch(45.58% 0.169 333.7)
XYZxyz(14.8139, 8.1470, 20.1904)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A247D #248A31
analogous
#64248A #8A247D #8A244A
triadic
#8A247D #7D8A24 #247D8A
tetradic
#8A247D #8A6424 #248A31 #244A8A
square
#8A247D #8A6424 #248A31 #244A8A
split-complementary
#8A247D #4A8A24 #248A64
monochromatic
#290B25 #591751 #8A247D #BB31A9 #D356C3

Accessibility & contrast

On white

7.99
#8A247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A247D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A247D#FFFFFF#000000##FFFFFF
##8A247D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477F
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#912D4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a247d;
/* rgb */ color: rgb(138, 36, 125);
/* oklch */ color: oklch(45.6% 0.169 333.7);
Tailwind
colors: {
  custom: {
    50: '#af69a3',
    500: '#8a247d',
    950: '#000000',
  },
}
SCSS
$custom: #8a247d;
$custom-light: #af69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a247d",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 307.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45582,
    "c": 0.16903,
    "h": 333.7
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#8A247D
secondary
#53B760
accent
#E25A46
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A247D

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

Preview Lab → · Contrast checker → · Palette generator →

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