#8C2CCD#8C2CCD

#8C2CCD is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 52.0% C 0.230 H 306.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8C2CCD
RGBrgb(140, 44, 205)
HSLhsl(276, 65%, 49%)
HSVhsv(276, 79%, 80%)
CMYKcmyk(31.7%, 78.5%, 0%, 19.6%)
CIE-LABlab(40.87, 65.23, -64.83)
CIE-LCHlch(40.87, 91.97, 315.17°)
OKLaboklab(51.99% 0.1382 -0.1845)
OKLCHoklch(51.99% 0.23 306.8)
XYZxyz(22.7329, 11.7849, 58.8229)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2CCD #6DCD2C
analogous
#3B2CCD #8C2CCD #CD2CBE
triadic
#8C2CCD #CD8C2C #2CCD8C
tetradic
#8C2CCD #CD3B2C #6DCD2C #2CBECD
square
#8C2CCD #CD3B2C #6DCD2C #2CBECD
split-complementary
#8C2CCD #BECD2C #2CCD3B
monochromatic
#471668 #6A219B #8C2CCD #A85BDC #C28DE7

Accessibility & contrast

On white

6.26
#8C2CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8C2CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2CCD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2CCD#FFFFFF#000000##FFFFFF
##8C2CCD1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#81567D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8c2ccd;
/* rgb */ color: rgb(140, 44, 205);
/* oklch */ color: oklch(52.0% 0.230 306.8);
Tailwind
colors: {
  custom: {
    50: '#b471dd',
    500: '#8c2ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8c2ccd;
$custom-light: #b471dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2ccd",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 275.776,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.23049,
    "h": 306.8
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#8C2CCD
secondary
#A3D184
accent
#E84084
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8C2CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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