#8B2AAF#8B2AAF

#8B2AAF is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.205 H 314.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8B2AAF
RGBrgb(139, 42, 175)
HSLhsl(284, 61%, 43%)
HSVhsv(284, 76%, 69%)
CMYKcmyk(20.6%, 76%, 0%, 31.4%)
CIE-LABlab(38.27, 59.51, -51.45)
CIE-LCHlch(38.27, 78.67, 319.15°)
OKLaboklab(49.44% 0.1446 -0.1452)
OKLCHoklch(49.44% 0.205 314.9)
XYZxyz(19.2120, 10.2407, 41.5138)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AAF #4EAF2A
analogous
#482AAF #8B2AAF #AF2A91
triadic
#8B2AAF #AF8B2A #2AAF8B
tetradic
#8B2AAF #AF482A #4EAF2A #2A91AF
square
#8B2AAF #AF482A #4EAF2A #2A91AF
split-complementary
#8B2AAF #91AF2A #2AAF48
monochromatic
#3D124C #641E7E #8B2AAF #AC44D2 #C275DE

Accessibility & contrast

On white

6.89
#8B2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8B2AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2AAF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AAF#FFFFFF#000000##FFFFFF
##8B2AAF1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#235CAC
Tritanopia (blue-blind)
#88486B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2aaf;
/* rgb */ color: rgb(139, 42, 175);
/* oklch */ color: oklch(49.4% 0.205 314.9);
Tailwind
colors: {
  custom: {
    50: '#b16ec8',
    500: '#8b2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #8b2aaf;
$custom-light: #b16ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2aaf",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 283.759,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4944,
    "c": 0.20488,
    "h": 314.9
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

primary
#8B2AAF
secondary
#87C66F
accent
#E4436F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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