#8B2CA3#8B2CA3

#8B2CA3 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.192 H 318.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8B2CA3
RGBrgb(139, 44, 163)
HSLhsl(288, 57%, 41%)
HSVhsv(288, 73%, 64%)
CMYKcmyk(14.7%, 73%, 0%, 36.1%)
CIE-LABlab(37.73, 56.39, -45.16)
CIE-LCHlch(37.73, 72.24, 321.31°)
OKLaboklab(48.8% 0.1441 -0.1267)
OKLCHoklch(48.8% 0.192 318.7)
XYZxyz(18.1581, 9.9355, 35.6045)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CA3 #44A32C
analogous
#4F2CA3 #8B2CA3 #A32C7F
triadic
#8B2CA3 #A38B2C #2CA38B
tetradic
#8B2CA3 #A34F2C #44A32C #2C7FA3
square
#8B2CA3 #A34F2C #44A32C #2C7FA3
split-complementary
#8B2CA3 #7FA32C #2CA34F
monochromatic
#391243 #621F73 #8B2CA3 #B041CC #C471D9

Accessibility & contrast

On white

7.03
#8B2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2CA3
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CA3#FFFFFF#000000##FFFFFF
##8B2CA31.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#335CA0
Tritanopia (blue-blind)
#8B4465
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2ca3;
/* rgb */ color: rgb(139, 44, 163);
/* oklch */ color: oklch(48.8% 0.192 318.7);
Tailwind
colors: {
  custom: {
    50: '#b16fbf',
    500: '#8b2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ca3;
$custom-light: #b16fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ca3",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 287.899,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48798,
    "c": 0.19188,
    "h": 318.7
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#8B2CA3
secondary
#7CC06B
accent
#E14766
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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