#8A247C#8A247C

#8A247C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.168 H 334.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8A247C
RGBrgb(138, 36, 124)
HSLhsl(308, 59%, 34%)
HSVhsv(308, 74%, 54%)
CMYKcmyk(0%, 73.9%, 10.1%, 45.9%)
CIE-LABlab(34.23, 52.16, -26.80)
CIE-LCHlch(34.23, 58.65, 332.80°)
OKLaboklab(45.53% 0.1514 -0.0734)
OKLCHoklch(45.53% 0.168 334.2)
XYZxyz(14.7503, 8.1215, 19.8556)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A247C #248A32
analogous
#65248A #8A247C #8A2449
triadic
#8A247C #7C8A24 #247C8A
tetradic
#8A247C #8A6524 #248A32 #24498A
square
#8A247C #8A6524 #248A32 #24498A
split-complementary
#8A247C #498A24 #248A65
monochromatic
#290B25 #591750 #8A247C #BB31A8 #D356C2

Accessibility & contrast

On white

8.00
#8A247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A247C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A247C#FFFFFF#000000##FFFFFF
##8A247C1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#47567A
Tritanopia (blue-blind)
#912D4D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a247c;
/* rgb */ color: rgb(138, 36, 124);
/* oklch */ color: oklch(45.5% 0.168 334.2);
Tailwind
colors: {
  custom: {
    50: '#af69a2',
    500: '#8a247c',
    950: '#000000',
  },
}
SCSS
$custom: #8a247c;
$custom-light: #af69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a247c",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 308.235,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.16827,
    "h": 334.2
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#8A247C
secondary
#53B761
accent
#E25B46
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A247C

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

Preview Lab → · Contrast checker → · Palette generator →

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