#8C2CAF#8C2CAF

#8C2CAF is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.203 H 315.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8C2CAF
RGBrgb(140, 44, 175)
HSLhsl(284, 60%, 43%)
HSVhsv(284, 75%, 69%)
CMYKcmyk(20%, 74.9%, 0%, 31.4%)
CIE-LABlab(38.68, 58.98, -50.79)
CIE-LCHlch(38.68, 77.83, 319.27°)
OKLaboklab(49.76% 0.144 -0.1432)
OKLCHoklch(49.76% 0.203 315.2)
XYZxyz(19.4525, 10.4727, 41.5459)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2CAF #4FAF2C
analogous
#4A2CAF #8C2CAF #AF2C91
triadic
#8C2CAF #AF8C2C #2CAF8C
tetradic
#8C2CAF #AF4A2C #4FAF2C #2C91AF
square
#8C2CAF #AF4A2C #4FAF2C #2C91AF
split-complementary
#8C2CAF #91AF2C #2CAF4A
monochromatic
#3E134D #65207E #8C2CAF #AC47D1 #C278DD

Accessibility & contrast

On white

6.79
#8C2CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8C2CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2CAF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2CAF#FFFFFF#000000##FFFFFF
##8C2CAF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#275EAC
Tritanopia (blue-blind)
#89496C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8c2caf;
/* rgb */ color: rgb(140, 44, 175);
/* oklch */ color: oklch(49.8% 0.203 315.2);
Tailwind
colors: {
  custom: {
    50: '#b26fc8',
    500: '#8c2caf',
    950: '#000000',
  },
}
SCSS
$custom: #8c2caf;
$custom-light: #b26fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2caf",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 283.969,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49759,
    "c": 0.20308,
    "h": 315.2
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#8C2CAF
secondary
#88C572
accent
#E3456F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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