#8C2DCE#8C2DCE

#8C2DCE is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.2% C 0.230 H 306.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8C2DCE
RGBrgb(140, 45, 206)
HSLhsl(275, 64%, 49%)
HSVhsv(275, 78%, 81%)
CMYKcmyk(32%, 78.2%, 0%, 19.2%)
CIE-LABlab(41.07, 65.09, -65.09)
CIE-LCHlch(41.07, 92.05, 315.00°)
OKLaboklab(52.15% 0.1372 -0.1852)
OKLCHoklch(52.15% 0.23 306.5)
XYZxyz(22.8917, 11.9087, 59.4732)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2DCE #6FCE2D
analogous
#3C2DCE #8C2DCE #CE2DC0
triadic
#8C2DCE #CE8C2D #2DCE8C
tetradic
#8C2DCE #CE3C2D #6FCE2D #2DC0CE
square
#8C2DCE #CE3C2D #6FCE2D #2DC0CE
split-complementary
#8C2DCE #C0CE2D #2DCE3C
monochromatic
#48176A #6A229C #8C2DCE #A85DDC #C38FE7

Accessibility & contrast

On white

6.21
#8C2DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8C2DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2DCE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2DCE#FFFFFF#000000##FFFFFF
##8C2DCE1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#80577E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8c2dce;
/* rgb */ color: rgb(140, 45, 206);
/* oklch */ color: oklch(52.2% 0.230 306.5);
Tailwind
colors: {
  custom: {
    50: '#b471de',
    500: '#8c2dce',
    950: '#000000',
  },
}
SCSS
$custom: #8c2dce;
$custom-light: #b471de;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2dce",
  "rgb": {
    "r": 140,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 275.404,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52155,
    "c": 0.23049,
    "h": 306.5
  },
  "luminance": 0.11908
}

Semantic roles & 50–950 ramp

primary
#8C2DCE
secondary
#A5D186
accent
#E74185
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8C2DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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