#8C2DA3#8C2DA3

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

Color values

HEX#8C2DA3
RGBrgb(140, 45, 163)
HSLhsl(288, 57%, 41%)
HSVhsv(288, 72%, 64%)
CMYKcmyk(14.1%, 72.4%, 0%, 36.1%)
CIE-LABlab(38.02, 56.22, -44.68)
CIE-LCHlch(38.02, 71.81, 321.52°)
OKLaboklab(49.04% 0.1443 -0.1253)
OKLCHoklch(49.04% 0.191 319)
XYZxyz(18.3636, 10.0974, 35.6249)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2DA3 #44A32D
analogous
#512DA3 #8C2DA3 #A32D7F
triadic
#8C2DA3 #A38C2D #2DA38C
tetradic
#8C2DA3 #A3512D #44A32D #2D7FA3
square
#8C2DA3 #A3512D #44A32D #2D7FA3
split-complementary
#8C2DA3 #7FA32D #2DA351
monochromatic
#3A1343 #632073 #8C2DA3 #B042CB #C472D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C2DA3#FFFFFF#000000##FFFFFF
##8C2DA31.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)
#0053A6
Deuteranopia (green-blind)
#355DA0
Tritanopia (blue-blind)
#8C4465
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8c2da3;
/* rgb */ color: rgb(140, 45, 163);
/* oklch */ color: oklch(49.0% 0.191 319.0);
Tailwind
colors: {
  custom: {
    50: '#b16fbf',
    500: '#8c2da3',
    950: '#000000',
  },
}
SCSS
$custom: #8c2da3;
$custom-light: #b16fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2da3",
  "rgb": {
    "r": 140,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 288.305,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49036,
    "c": 0.19113,
    "h": 319
  },
  "luminance": 0.10097
}

Semantic roles & 50–950 ramp

primary
#8C2DA3
secondary
#7CC06C
accent
#E04865
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8C2DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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