#8C2CA4#8C2CA4

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

Color values

HEX#8C2CA4
RGBrgb(140, 44, 164)
HSLhsl(288, 58%, 41%)
HSVhsv(288, 73%, 64%)
CMYKcmyk(14.6%, 73.2%, 0%, 35.7%)
CIE-LABlab(37.95, 56.80, -45.40)
CIE-LCHlch(37.95, 72.71, 321.37°)
OKLaboklab(49.01% 0.1452 -0.1274)
OKLCHoklch(49.01% 0.193 318.7)
XYZxyz(18.4158, 10.0580, 36.0861)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2CA4 #44A42C
analogous
#502CA4 #8C2CA4 #A42C80
triadic
#8C2CA4 #A48C2C #2CA48C
tetradic
#8C2CA4 #A4502C #44A42C #2C80A4
square
#8C2CA4 #A4502C #44A42C #2C80A4
split-complementary
#8C2CA4 #80A42C #2CA450
monochromatic
#3A1243 #631F74 #8C2CA4 #B041CC #C471D9

Accessibility & contrast

On white

6.97
#8C2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8C2CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2CA4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2CA4#FFFFFF#000000##FFFFFF
##8C2CA41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#335CA1
Tritanopia (blue-blind)
#8C4465
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8c2ca4;
/* rgb */ color: rgb(140, 44, 164);
/* oklch */ color: oklch(49.0% 0.193 318.7);
Tailwind
colors: {
  custom: {
    50: '#b16fc0',
    500: '#8c2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #8c2ca4;
$custom-light: #b16fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2ca4",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 288,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49006,
    "c": 0.19319,
    "h": 318.7
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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