#8C2CC6#8C2CC6

#8C2CC6 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.4% C 0.224 H 308.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8C2CC6
RGBrgb(140, 44, 198)
HSLhsl(277, 64%, 47%)
HSVhsv(277, 78%, 78%)
CMYKcmyk(29.3%, 77.8%, 0%, 22.4%)
CIE-LABlab(40.34, 63.74, -61.64)
CIE-LCHlch(40.34, 88.67, 315.96°)
OKLaboklab(51.45% 0.1398 -0.1751)
OKLCHoklch(51.45% 0.224 308.6)
XYZxyz(21.9068, 11.4544, 54.4720)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2CC6 #66C62C
analogous
#3F2CC6 #8C2CC6 #C62CB3
triadic
#8C2CC6 #C68C2C #2CC68C
tetradic
#8C2CC6 #C63F2C #66C62C #2CB3C6
square
#8C2CC6 #C63F2C #66C62C #2CB3C6
split-complementary
#8C2CC6 #B3C62C #2CC63F
monochromatic
#451662 #692194 #8C2CC6 #A856D9 #C288E5

Accessibility & contrast

On white

6.38
#8C2CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8C2CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2CC6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2CC6#FFFFFF#000000##FFFFFF
##8C2CC61.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#835379
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8c2cc6;
/* rgb */ color: rgb(140, 44, 198);
/* oklch */ color: oklch(51.4% 0.224 308.6);
Tailwind
colors: {
  custom: {
    50: '#b370d8',
    500: '#8c2cc6',
    950: '#000000',
  },
}
SCSS
$custom: #8c2cc6;
$custom-light: #b370d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2cc6",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 198
  },
  "hsl": {
    "h": 277.403,
    "s": 63.636,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.22407,
    "h": 308.6
  },
  "luminance": 0.11454
}

Semantic roles & 50–950 ramp

primary
#8C2CC6
secondary
#9DCE80
accent
#E7417F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #8C2CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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