#8B2CA5#8B2CA5

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

Color values

HEX#8B2CA5
RGBrgb(139, 44, 165)
HSLhsl(287, 58%, 41%)
HSVhsv(287, 73%, 65%)
CMYKcmyk(15.8%, 73.3%, 0%, 35.3%)
CIE-LABlab(37.86, 56.78, -46.15)
CIE-LCHlch(37.86, 73.17, 320.90°)
OKLaboklab(48.93% 0.1439 -0.1296)
OKLCHoklch(48.93% 0.194 318)
XYZxyz(18.3387, 10.0078, 36.5557)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CA5 #46A52C
analogous
#4E2CA5 #8B2CA5 #A52C82
triadic
#8B2CA5 #A58B2C #2CA58B
tetradic
#8B2CA5 #A54E2C #46A52C #2C82A5
square
#8B2CA5 #A54E2C #46A52C #2C82A5
split-complementary
#8B2CA5 #82A52C #2CA54E
monochromatic
#3A1244 #621F75 #8B2CA5 #AF42CD #C372D9

Accessibility & contrast

On white

7.00
#8B2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8B2CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CA5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CA5#FFFFFF#000000##FFFFFF
##8B2CA51.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#315CA2
Tritanopia (blue-blind)
#8A4566
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2ca5;
/* rgb */ color: rgb(139, 44, 165);
/* oklch */ color: oklch(48.9% 0.194 318.0);
Tailwind
colors: {
  custom: {
    50: '#b16fc0',
    500: '#8b2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ca5;
$custom-light: #b16fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ca5",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 287.107,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48932,
    "c": 0.19368,
    "h": 318
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#8B2CA5
secondary
#7EC16C
accent
#E14768
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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