#8E2CCD#8E2CCD

#8E2CCD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.2% C 0.231 H 307.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8E2CCD
RGBrgb(142, 44, 205)
HSLhsl(277, 65%, 49%)
HSVhsv(277, 79%, 80%)
CMYKcmyk(30.7%, 78.5%, 0%, 19.6%)
CIE-LABlab(41.15, 65.56, -64.36)
CIE-LCHlch(41.15, 91.87, 315.53°)
OKLaboklab(52.25% 0.1409 -0.183)
OKLCHoklch(52.25% 0.231 307.6)
XYZxyz(23.0731, 11.9603, 58.8388)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CCD #6BCD2C
analogous
#3E2CCD #8E2CCD #CD2CBC
triadic
#8E2CCD #CD8E2C #2CCD8E
tetradic
#8E2CCD #CD3E2C #6BCD2C #2CBCCD
square
#8E2CCD #CD3E2C #6BCD2C #2CBCCD
split-complementary
#8E2CCD #BCCD2C #2CCD3E
monochromatic
#481668 #6B219B #8E2CCD #A95BDC #C38DE7

Accessibility & contrast

On white

6.19
#8E2CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8E2CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2CCD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2CCD#FFFFFF#000000##FFFFFF
##8E2CCD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#83567D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e2ccd;
/* rgb */ color: rgb(142, 44, 205);
/* oklch */ color: oklch(52.2% 0.231 307.6);
Tailwind
colors: {
  custom: {
    50: '#b571dd',
    500: '#8e2ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ccd;
$custom-light: #b571dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ccd",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 276.522,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.23098,
    "h": 307.6
  },
  "luminance": 0.1196
}

Semantic roles & 50–950 ramp

primary
#8E2CCD
secondary
#A2D184
accent
#E84082
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8E2CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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