#8C2C8E#8C2C8E

#8C2C8E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.174 H 327.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8C2C8E
RGBrgb(140, 44, 142)
HSLhsl(299, 53%, 36%)
HSVhsv(299, 69%, 56%)
CMYKcmyk(1.4%, 69%, 0%, 44.3%)
CIE-LABlab(36.61, 52.69, -34.18)
CIE-LCHlch(36.61, 62.81, 327.03°)
OKLaboklab(47.62% 0.146 -0.0947)
OKLCHoklch(47.62% 0.174 327)
XYZxyz(16.5981, 9.3309, 26.5128)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2C8E #2E8E2C
analogous
#5B2C8E #8C2C8E #8E2C5F
triadic
#8C2C8E #8E8C2C #2C8E8C
tetradic
#8C2C8E #8E5B2C #2E8E2C #2C5F8E
square
#8C2C8E #8E5B2C #2E8E2C #2C5F8E
split-complementary
#8C2C8E #5F8E2C #2C8E5B
monochromatic
#300F31 #5E1E5F #8C2C8E #BA3ABD #CD65CF

Accessibility & contrast

On white

7.33
#8C2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8C2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2C8E
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2C8E#FFFFFF#000000##FFFFFF
##8C2C8E1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#435A8B
Tritanopia (blue-blind)
#903A59
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c2c8e;
/* rgb */ color: rgb(140, 44, 142);
/* oklch */ color: oklch(47.6% 0.174 327.0);
Tailwind
colors: {
  custom: {
    50: '#b16eaf',
    500: '#8c2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #8c2c8e;
$custom-light: #b16eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2c8e",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 298.776,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.17398,
    "h": 327
  },
  "luminance": 0.0933
}

Semantic roles & 50–950 ramp

primary
#8C2C8E
secondary
#62B660
accent
#DC4C4F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8C2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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