#8A2C73#8A2C73

#8A2C73 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.151 H 338.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8A2C73
RGBrgb(138, 44, 115)
HSLhsl(315, 52%, 36%)
HSVhsv(315, 68%, 54%)
CMYKcmyk(0%, 68.1%, 16.7%, 45.9%)
CIE-LABlab(34.89, 47.67, -20.13)
CIE-LCHlch(34.89, 51.74, 337.11°)
OKLaboklab(45.86% 0.1411 -0.0544)
OKLCHoklch(45.86% 0.151 338.9)
XYZxyz(14.4767, 8.4437, 17.0837)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C73 #2C8A43
analogous
#722C8A #8A2C73 #8A2C44
triadic
#8A2C73 #738A2C #2C738A
tetradic
#8A2C73 #8A722C #2C8A43 #2C448A
square
#8A2C73 #8A722C #2C8A43 #2C448A
split-complementary
#8A2C73 #448A2C #2C8A72
monochromatic
#2D0E26 #5C1D4C #8A2C73 #B83B9A #CD63B3

Accessibility & contrast

On white

7.81
#8A2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A2C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C73
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C73#FFFFFF#000000##FFFFFF
##8A2C731.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304975
Deuteranopia (green-blind)
#4E5771
Tritanopia (blue-blind)
#922F4B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2c73;
/* rgb */ color: rgb(138, 44, 115);
/* oklch */ color: oklch(45.9% 0.151 338.9);
Tailwind
colors: {
  custom: {
    50: '#af6d9b',
    500: '#8a2c73',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c73;
$custom-light: #af6d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c73",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 314.681,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45859,
    "c": 0.15123,
    "h": 338.9
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#8A2C73
secondary
#5EB473
accent
#DB704D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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