#8C2CC0#8C2CC0

#8C2CC0 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.219 H 310.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8C2CC0
RGBrgb(140, 44, 192)
HSLhsl(279, 63%, 46%)
HSVhsv(279, 77%, 75%)
CMYKcmyk(27.1%, 77.1%, 0%, 24.7%)
CIE-LABlab(39.89, 62.47, -58.86)
CIE-LCHlch(39.89, 85.83, 316.70°)
OKLaboklab(50.99% 0.1411 -0.1669)
OKLCHoklch(50.99% 0.219 310.2)
XYZxyz(21.2285, 11.1831, 50.8992)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2CC0 #60C02C
analogous
#422CC0 #8C2CC0 #C02CAA
triadic
#8C2CC0 #C08C2C #2CC08C
tetradic
#8C2CC0 #C0422C #60C02C #2CAAC0
square
#8C2CC0 #C0422C #60C02C #2CAAC0
split-complementary
#8C2CC0 #AAC02C #2CC042
monochromatic
#43155C #68218E #8C2CC0 #A852D7 #C184E3

Accessibility & contrast

On white

6.49
#8C2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8C2CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2CC0
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2CC0#FFFFFF#000000##FFFFFF
##8C2CC01.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#855075
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8c2cc0;
/* rgb */ color: rgb(140, 44, 192);
/* oklch */ color: oklch(51.0% 0.219 310.2);
Tailwind
colors: {
  custom: {
    50: '#b370d4',
    500: '#8c2cc0',
    950: '#000000',
  },
}
SCSS
$custom: #8c2cc0;
$custom-light: #b370d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2cc0",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 278.919,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50994,
    "c": 0.21856,
    "h": 310.2
  },
  "luminance": 0.11183
}

Semantic roles & 50–950 ramp

primary
#8C2CC0
secondary
#98CC7C
accent
#E6427C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8C2CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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