#8B2EA9#8B2EA9

#8B2EA9 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.195 H 316.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8B2EA9
RGBrgb(139, 46, 169)
HSLhsl(285, 57%, 42%)
HSVhsv(285, 73%, 66%)
CMYKcmyk(17.8%, 72.8%, 0%, 33.7%)
CIE-LABlab(38.39, 56.81, -47.69)
CIE-LCHlch(38.39, 74.17, 319.99°)
OKLaboklab(49.4% 0.1415 -0.1342)
OKLCHoklch(49.4% 0.195 316.5)
XYZxyz(18.7848, 10.3083, 38.5286)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EA9 #4CA92E
analogous
#4E2EA9 #8B2EA9 #A92E89
triadic
#8B2EA9 #A98B2E #2EA98B
tetradic
#8B2EA9 #A94E2E #4CA92E #2E89A9
square
#8B2EA9 #A94E2E #4CA92E #2E89A9
split-complementary
#8B2EA9 #89A92E #2EA94E
monochromatic
#3C1449 #632179 #8B2EA9 #AC47CD #C277DA

Accessibility & contrast

On white

6.86
#8B2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8B2EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2EA9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2EA9#FFFFFF#000000##FFFFFF
##8B2EA91.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#2F5DA6
Tritanopia (blue-blind)
#894769
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2ea9;
/* rgb */ color: rgb(139, 46, 169);
/* oklch */ color: oklch(49.4% 0.195 316.5);
Tailwind
colors: {
  custom: {
    50: '#b170c3',
    500: '#8b2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ea9;
$custom-light: #b170c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ea9",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 285.366,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49396,
    "c": 0.195,
    "h": 316.5
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#8B2EA9
secondary
#85C271
accent
#E0476D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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