#8B2CA7#8B2CA7

#8B2CA7 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.195 H 317.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8B2CA7
RGBrgb(139, 44, 167)
HSLhsl(286, 58%, 41%)
HSVhsv(286, 74%, 65%)
CMYKcmyk(16.8%, 73.7%, 0%, 34.5%)
CIE-LABlab(37.99, 57.18, -47.14)
CIE-LCHlch(37.99, 74.10, 320.50°)
OKLaboklab(49.07% 0.1437 -0.1325)
OKLCHoklch(49.07% 0.195 317.3)
XYZxyz(18.5222, 10.0811, 37.5219)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CA7 #48A72C
analogous
#4D2CA7 #8B2CA7 #A72C86
triadic
#8B2CA7 #A78B2C #2CA78B
tetradic
#8B2CA7 #A74D2C #48A72C #2C86A7
square
#8B2CA7 #A74D2C #48A72C #2C86A7
split-complementary
#8B2CA7 #86A72C #2CA74D
monochromatic
#3A1246 #631F77 #8B2CA7 #AE43CD #C373DA

Accessibility & contrast

On white

6.96
#8B2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8B2CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CA7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CA7#FFFFFF#000000##FFFFFF
##8B2CA71.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#2F5CA4
Tritanopia (blue-blind)
#8A4567
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2ca7;
/* rgb */ color: rgb(139, 44, 167);
/* oklch */ color: oklch(49.1% 0.195 317.3);
Tailwind
colors: {
  custom: {
    50: '#b16fc2',
    500: '#8b2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ca7;
$custom-light: #b16fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ca7",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 286.341,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49067,
    "c": 0.19549,
    "h": 317.3
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#8B2CA7
secondary
#80C26D
accent
#E2466A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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