#8A2C9B#8A2C9B

#8A2C9B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.184 H 321.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8A2C9B
RGBrgb(138, 44, 155)
HSLhsl(291, 56%, 39%)
HSVhsv(291, 72%, 61%)
CMYKcmyk(11%, 71.6%, 0%, 39.2%)
CIE-LABlab(37.06, 54.63, -41.40)
CIE-LCHlch(37.06, 68.54, 322.84°)
OKLaboklab(48.13% 0.1434 -0.1158)
OKLCHoklch(48.13% 0.184 321.1)
XYZxyz(17.2976, 9.5721, 31.9405)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C9B #3D9B2C
analogous
#532C9B #8A2C9B #9B2C75
triadic
#8A2C9B #9B8A2C #2C9B8A
tetradic
#8A2C9B #9B532C #3D9B2C #2C759B
square
#8A2C9B #9B532C #3D9B2C #2C759B
split-complementary
#8A2C9B #759B2C #2C9B53
monochromatic
#35113C #601E6B #8A2C9B #B23CC8 #C56CD5

Accessibility & contrast

On white

7.21
#8A2C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A2C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C9B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C9B#FFFFFF#000000##FFFFFF
##8A2C9B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#395B98
Tritanopia (blue-blind)
#8B4060
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a2c9b;
/* rgb */ color: rgb(138, 44, 155);
/* oklch */ color: oklch(48.1% 0.184 321.1);
Tailwind
colors: {
  custom: {
    50: '#b06eb9',
    500: '#8a2c9b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c9b;
$custom-light: #b06eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c9b",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 290.811,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48131,
    "c": 0.18432,
    "h": 321.1
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#8A2C9B
secondary
#74BC67
accent
#DF4960
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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