#8C2AC0#8C2AC0

#8C2AC0 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.8% C 0.221 H 310.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8C2AC0
RGBrgb(140, 42, 192)
HSLhsl(279, 64%, 46%)
HSVhsv(279, 78%, 75%)
CMYKcmyk(27.1%, 78.1%, 0%, 24.7%)
CIE-LABlab(39.64, 63.17, -59.26)
CIE-LCHlch(39.64, 86.62, 316.83°)
OKLaboklab(50.82% 0.1427 -0.1681)
OKLCHoklch(50.82% 0.221 310.3)
XYZxyz(21.1557, 11.0376, 50.8750)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2AC0 #5EC02A
analogous
#412AC0 #8C2AC0 #C02AA9
triadic
#8C2AC0 #C08C2A #2AC08C
tetradic
#8C2AC0 #C0412A #5EC02A #2AA9C0
square
#8C2AC0 #C0412A #5EC02A #2AA9C0
split-complementary
#8C2AC0 #A9C02A #2AC041
monochromatic
#43145C #671F8E #8C2AC0 #A94FD8 #C181E3

Accessibility & contrast

On white

6.55
#8C2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8C2AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2AC0
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2AC0#FFFFFF#000000##FFFFFF
##8C2AC01.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#854F75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8c2ac0;
/* rgb */ color: rgb(140, 42, 192);
/* oklch */ color: oklch(50.8% 0.221 310.3);
Tailwind
colors: {
  custom: {
    50: '#b36fd4',
    500: '#8c2ac0',
    950: '#000000',
  },
}
SCSS
$custom: #8c2ac0;
$custom-light: #b36fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2ac0",
  "rgb": {
    "r": 140,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 279.2,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50823,
    "c": 0.22051,
    "h": 310.3
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#8C2AC0
secondary
#96CC7A
accent
#E7417A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8C2AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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