#8B2CA9#8B2CA9

#8B2CA9 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.197 H 316.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8B2CA9
RGBrgb(139, 44, 169)
HSLhsl(286, 59%, 42%)
HSVhsv(286, 74%, 66%)
CMYKcmyk(17.8%, 74%, 0%, 33.7%)
CIE-LABlab(38.12, 57.57, -48.12)
CIE-LCHlch(38.12, 75.03, 320.11°)
OKLaboklab(49.2% 0.1435 -0.1354)
OKLCHoklch(49.2% 0.197 316.7)
XYZxyz(18.7085, 10.1557, 38.5032)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CA9 #4AA92C
analogous
#4D2CA9 #8B2CA9 #A92C89
triadic
#8B2CA9 #A98B2C #2CA98B
tetradic
#8B2CA9 #A94D2C #4AA92C #2C89A9
square
#8B2CA9 #A94D2C #4AA92C #2C89A9
split-complementary
#8B2CA9 #89A92C #2CA94D
monochromatic
#3B1348 #631F78 #8B2CA9 #AD44CE #C274DB

Accessibility & contrast

On white

6.93
#8B2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8B2CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CA9
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CA9#FFFFFF#000000##FFFFFF
##8B2CA91.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#2D5CA6
Tritanopia (blue-blind)
#894668
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2ca9;
/* rgb */ color: rgb(139, 44, 169);
/* oklch */ color: oklch(49.2% 0.197 316.7);
Tailwind
colors: {
  custom: {
    50: '#b16fc3',
    500: '#8b2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ca9;
$custom-light: #b16fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ca9",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 285.6,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49204,
    "c": 0.19729,
    "h": 316.7
  },
  "luminance": 0.10155
}

Semantic roles & 50–950 ramp

primary
#8B2CA9
secondary
#82C36E
accent
#E2466B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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