#8B2CA0#8B2CA0

#8B2CA0 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.189 H 319.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8B2CA0
RGBrgb(139, 44, 160)
HSLhsl(289, 57%, 40%)
HSVhsv(289, 73%, 63%)
CMYKcmyk(13.1%, 72.5%, 0%, 37.3%)
CIE-LABlab(37.53, 55.81, -43.66)
CIE-LCHlch(37.53, 70.86, 321.96°)
OKLaboklab(48.6% 0.1443 -0.1223)
OKLCHoklch(48.6% 0.189 319.7)
XYZxyz(17.8925, 9.8293, 34.2057)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CA0 #41A02C
analogous
#512CA0 #8B2CA0 #A02C7B
triadic
#8B2CA0 #A08B2C #2CA08B
tetradic
#8B2CA0 #A0512C #41A02C #2C7BA0
square
#8B2CA0 #A0512C #41A02C #2C7BA0
split-complementary
#8B2CA0 #7BA02C #2CA051
monochromatic
#381240 #611F70 #8B2CA0 #B13FCA #C56FD7

Accessibility & contrast

On white

7.08
#8B2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8B2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2CA0
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CA0#FFFFFF#000000##FFFFFF
##8B2CA01.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#365C9D
Tritanopia (blue-blind)
#8B4263
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2ca0;
/* rgb */ color: rgb(139, 44, 160);
/* oklch */ color: oklch(48.6% 0.189 319.7);
Tailwind
colors: {
  custom: {
    50: '#b06ebd',
    500: '#8b2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ca0;
$custom-light: #b06ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ca0",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 289.138,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.48599,
    "c": 0.1892,
    "h": 319.7
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#8B2CA0
secondary
#79BF69
accent
#E04863
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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