#8C2CA3#8C2CA3

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

Color values

HEX#8C2CA3
RGBrgb(140, 44, 163)
HSLhsl(288, 57%, 41%)
HSVhsv(288, 73%, 64%)
CMYKcmyk(14.1%, 73%, 0%, 36.1%)
CIE-LABlab(37.88, 56.60, -44.90)
CIE-LCHlch(37.88, 72.25, 321.58°)
OKLaboklab(48.94% 0.1453 -0.1259)
OKLCHoklch(48.94% 0.192 319.1)
XYZxyz(18.3259, 10.0220, 35.6124)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2CA3 #43A32C
analogous
#502CA3 #8C2CA3 #A32C7F
triadic
#8C2CA3 #A38C2C #2CA38C
tetradic
#8C2CA3 #A3502C #43A32C #2C7FA3
square
#8C2CA3 #A3502C #43A32C #2C7FA3
split-complementary
#8C2CA3 #7FA32C #2CA350
monochromatic
#391243 #631F73 #8C2CA3 #B141CC #C571D9

Accessibility & contrast

On white

6.99
#8C2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C2CA3
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2CA3#FFFFFF#000000##FFFFFF
##8C2CA31.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c2ca3;
/* rgb */ color: rgb(140, 44, 163);
/* oklch */ color: oklch(48.9% 0.192 319.1);
Tailwind
colors: {
  custom: {
    50: '#b16fbf',
    500: '#8c2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #8c2ca3;
$custom-light: #b16fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2ca3",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 288.403,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.1923,
    "h": 319.1
  },
  "luminance": 0.10021
}

Semantic roles & 50–950 ramp

primary
#8C2CA3
secondary
#7BC06B
accent
#E14765
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8C2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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