#8B2AAC#8B2AAC

#8B2AAC is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.202 H 315.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8B2AAC
RGBrgb(139, 42, 172)
HSLhsl(285, 61%, 42%)
HSVhsv(285, 76%, 67%)
CMYKcmyk(19.2%, 75.6%, 0%, 32.5%)
CIE-LABlab(38.06, 58.91, -50.00)
CIE-LCHlch(38.06, 77.27, 319.68°)
OKLaboklab(49.23% 0.145 -0.1409)
OKLCHoklch(49.23% 0.202 315.8)
XYZxyz(18.9206, 10.1242, 39.9792)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AAC #4BAC2A
analogous
#4A2AAC #8B2AAC #AC2A8C
triadic
#8B2AAC #AC8B2A #2AAC8B
tetradic
#8B2AAC #AC4A2A #4BAC2A #2A8CAC
square
#8B2AAC #AC4A2A #4BAC2A #2A8CAC
split-complementary
#8B2AAC #8CAC2A #2AAC4A
monochromatic
#3B124A #631E7B #8B2AAC #AD42D1 #C273DD

Accessibility & contrast

On white

6.94
#8B2AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8B2AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2AAC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AAC#FFFFFF#000000##FFFFFF
##8B2AAC1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#275CA9
Tritanopia (blue-blind)
#894769
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2aac;
/* rgb */ color: rgb(139, 42, 172);
/* oklch */ color: oklch(49.2% 0.202 315.8);
Tailwind
colors: {
  custom: {
    50: '#b16ec5',
    500: '#8b2aac',
    950: '#000000',
  },
}
SCSS
$custom: #8b2aac;
$custom-light: #b16ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2aac",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 284.769,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49228,
    "c": 0.20218,
    "h": 315.8
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#8B2AAC
secondary
#84C46D
accent
#E4446D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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