#8B2CA1#8B2CA1

#8B2CA1 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.190 H 319.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8B2CA1
RGBrgb(139, 44, 161)
HSLhsl(289, 57%, 40%)
HSVhsv(289, 73%, 63%)
CMYKcmyk(13.7%, 72.7%, 0%, 36.9%)
CIE-LABlab(37.60, 56.00, -44.16)
CIE-LCHlch(37.60, 71.32, 321.74°)
OKLaboklab(48.67% 0.1443 -0.1238)
OKLCHoklch(48.67% 0.19 319.4)
XYZxyz(17.9803, 9.8644, 34.6682)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CA1 #42A12C
analogous
#512CA1 #8B2CA1 #A12C7C
triadic
#8B2CA1 #A18B2C #2CA18B
tetradic
#8B2CA1 #A1512C #42A12C #2C7CA1
square
#8B2CA1 #A1512C #42A12C #2C7CA1
split-complementary
#8B2CA1 #7CA12C #2CA151
monochromatic
#381241 #621F71 #8B2CA1 #B140CB #C470D8

Accessibility & contrast

On white

7.06
#8B2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2CA1
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CA1#FFFFFF#000000##FFFFFF
##8B2CA11.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#355C9E
Tritanopia (blue-blind)
#8B4364
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2ca1;
/* rgb */ color: rgb(139, 44, 161);
/* oklch */ color: oklch(48.7% 0.190 319.4);
Tailwind
colors: {
  custom: {
    50: '#b06ebd',
    500: '#8b2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ca1;
$custom-light: #b06ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ca1",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 288.718,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48665,
    "c": 0.1901,
    "h": 319.4
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#8B2CA1
secondary
#7ABF6A
accent
#E04764
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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