#8A2C8A#8A2C8A

#8A2C8A is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.170 H 327.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8A2C8A
RGBrgb(138, 44, 138)
HSLhsl(300, 52%, 36%)
HSVhsv(300, 68%, 54%)
CMYKcmyk(0%, 68.1%, 0%, 45.9%)
CIE-LABlab(36.06, 51.49, -32.61)
CIE-LCHlch(36.06, 60.95, 327.65°)
OKLaboklab(47.09% 0.1435 -0.0902)
OKLCHoklch(47.09% 0.17 327.9)
XYZxyz(15.9691, 9.0407, 24.9438)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C8A #2C8A2C
analogous
#5B2C8A #8A2C8A #8A2C5B
triadic
#8A2C8A #8A8A2C #2C8A8A
tetradic
#8A2C8A #8A5B2C #2C8A2C #2C5B8A
square
#8A2C8A #8A5B2C #2C8A2C #2C5B8A
split-complementary
#8A2C8A #5B8A2C #2C8A5B
monochromatic
#2D0E2D #5C1D5C #8A2C8A #B83BB8 #CD63CD

Accessibility & contrast

On white

7.48
#8A2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8A2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C8A
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C8A#FFFFFF#000000##FFFFFF
##8A2C8A1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#445988
Tritanopia (blue-blind)
#8E3957
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2c8a;
/* rgb */ color: rgb(138, 44, 138);
/* oklch */ color: oklch(47.1% 0.170 327.9);
Tailwind
colors: {
  custom: {
    50: '#af6dac',
    500: '#8a2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c8a;
$custom-light: #af6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c8a",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4709,
    "c": 0.16952,
    "h": 327.9
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#8A2C8A
secondary
#5EB45E
accent
#DB4D4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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