#8E4CCD#8E4CCD

#8E4CCD is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.8% C 0.194 H 304.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8E4CCD
RGBrgb(142, 76, 205)
HSLhsl(271, 56%, 55%)
HSVhsv(271, 63%, 80%)
CMYKcmyk(30.7%, 62.9%, 0%, 19.6%)
CIE-LABlab(46.08, 51.73, -56.39)
CIE-LCHlch(46.08, 76.52, 312.54°)
OKLaboklab(55.76% 0.1093 -0.1598)
OKLCHoklch(55.76% 0.194 304.4)
XYZxyz(24.7568, 15.3275, 59.4000)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CCD #8BCD4C
analogous
#4E4CCD #8E4CCD #CD4CCB
triadic
#8E4CCD #CD8E4C #4CCD8E
tetradic
#8E4CCD #CD4E4C #8BCD4C #4CCBCD
square
#8E4CCD #CD4E4C #8BCD4C #4CCBCD
split-complementary
#8E4CCD #CBCD4C #4CCD4E
monochromatic
#50237C #6F30AC #8E4CCD #AC7CDA #CAACE8

Accessibility & contrast

On white

5.17
#8E4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8E4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4CCD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4CCD#FFFFFF#000000##FFFFFF
##8E4CCD1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#826786
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e4ccd;
/* rgb */ color: rgb(142, 76, 205);
/* oklch */ color: oklch(55.8% 0.194 304.4);
Tailwind
colors: {
  custom: {
    50: '#b382dd',
    500: '#8e4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ccd;
$custom-light: #b382dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ccd",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 270.698,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55755,
    "c": 0.19355,
    "h": 304.4
  },
  "luminance": 0.15327
}

Semantic roles & 50–950 ramp

primary
#8E4CCD
secondary
#BAD59F
accent
#E04892
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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