#8C2CC1#8C2CC1

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

Color values

HEX#8C2CC1
RGBrgb(140, 44, 193)
HSLhsl(279, 63%, 46%)
HSVhsv(279, 77%, 76%)
CMYKcmyk(27.5%, 77.2%, 0%, 24.3%)
CIE-LABlab(39.96, 62.68, -59.33)
CIE-LCHlch(39.96, 86.31, 316.57°)
OKLaboklab(51.07% 0.1409 -0.1683)
OKLCHoklch(51.07% 0.219 309.9)
XYZxyz(21.3396, 11.2275, 51.4847)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2CC1 #61C12C
analogous
#422CC1 #8C2CC1 #C12CAC
triadic
#8C2CC1 #C18C2C #2CC18C
tetradic
#8C2CC1 #C1422C #61C12C #2CACC1
square
#8C2CC1 #C1422C #61C12C #2CACC1
split-complementary
#8C2CC1 #ACC12C #2CC142
monochromatic
#44155D #68218F #8C2CC1 #A853D8 #C184E3

Accessibility & contrast

On white

6.47
#8C2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8C2CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2CC1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2CC1#FFFFFF#000000##FFFFFF
##8C2CC11.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#845176
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8c2cc1;
/* rgb */ color: rgb(140, 44, 193);
/* oklch */ color: oklch(51.1% 0.219 309.9);
Tailwind
colors: {
  custom: {
    50: '#b370d5',
    500: '#8c2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #8c2cc1;
$custom-light: #b370d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2cc1",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 278.658,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51069,
    "c": 0.21948,
    "h": 309.9
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#8C2CC1
secondary
#99CC7D
accent
#E6427C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8C2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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