#8B2CA4#8B2CA4

#8B2CA4 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.193 H 318.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8B2CA4
RGBrgb(139, 44, 164)
HSLhsl(288, 58%, 41%)
HSVhsv(288, 73%, 64%)
CMYKcmyk(15.2%, 73.2%, 0%, 35.7%)
CIE-LABlab(37.79, 56.59, -45.65)
CIE-LCHlch(37.79, 72.71, 321.10°)
OKLaboklab(48.86% 0.144 -0.1282)
OKLCHoklch(48.86% 0.193 318.3)
XYZxyz(18.2481, 9.9715, 36.0782)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CA4 #45A42C
analogous
#4F2CA4 #8B2CA4 #A42C81
triadic
#8B2CA4 #A48B2C #2CA48B
tetradic
#8B2CA4 #A44F2C #45A42C #2C81A4
square
#8B2CA4 #A44F2C #45A42C #2C81A4
split-complementary
#8B2CA4 #81A42C #2CA44F
monochromatic
#391243 #621F74 #8B2CA4 #AF41CC #C371D9

Accessibility & contrast

On white

7.01
#8B2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8B2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2CA4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CA4#FFFFFF#000000##FFFFFF
##8B2CA41.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#325CA1
Tritanopia (blue-blind)
#8A4465
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2ca4;
/* rgb */ color: rgb(139, 44, 164);
/* oklch */ color: oklch(48.9% 0.193 318.3);
Tailwind
colors: {
  custom: {
    50: '#b16fc0',
    500: '#8b2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ca4;
$custom-light: #b16fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ca4",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 287.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.19279,
    "h": 318.3
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#8B2CA4
secondary
#7DC06B
accent
#E14767
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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