#8A2C8B#8A2C8B

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

Color values

HEX#8A2C8B
RGBrgb(138, 44, 139)
HSLhsl(299, 52%, 36%)
HSVhsv(299, 68%, 55%)
CMYKcmyk(0.7%, 68.3%, 0%, 45.5%)
CIE-LABlab(36.12, 51.67, -33.14)
CIE-LCHlch(36.12, 61.38, 327.32°)
OKLaboklab(47.15% 0.1436 -0.0917)
OKLCHoklch(47.15% 0.17 327.4)
XYZxyz(16.0419, 9.0698, 25.3268)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C8B #2D8B2C
analogous
#5A2C8B #8A2C8B #8B2C5C
triadic
#8A2C8B #8B8A2C #2C8B8A
tetradic
#8A2C8B #8B5A2C #2D8B2C #2C5C8B
square
#8A2C8B #8B5A2C #2D8B2C #2C5C8B
split-complementary
#8A2C8B #5C8B2C #2C8B5A
monochromatic
#2E0F2E #5C1D5D #8A2C8B #B83BB9 #CD64CE

Accessibility & contrast

On white

7.46
#8A2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2C8B
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C8B#FFFFFF#000000##FFFFFF
##8A2C8B1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#435989
Tritanopia (blue-blind)
#8E3A58
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2c8b;
/* rgb */ color: rgb(138, 44, 139);
/* oklch */ color: oklch(47.1% 0.170 327.4);
Tailwind
colors: {
  custom: {
    50: '#af6ead',
    500: '#8a2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c8b;
$custom-light: #af6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c8b",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 299.368,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47148,
    "c": 0.17038,
    "h": 327.4
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#8A2C8B
secondary
#60B45F
accent
#DB4C4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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