#8E4CDF#8E4CDF

#8E4CDF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.213 H 300.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8E4CDF
RGBrgb(142, 76, 223)
HSLhsl(267, 70%, 59%)
HSVhsv(267, 66%, 87%)
CMYKcmyk(36.3%, 65.9%, 0%, 12.5%)
CIE-LABlab(47.30, 56.08, -64.71)
CIE-LCHlch(47.30, 85.63, 310.91°)
OKLaboklab(57.02% 0.1077 -0.1842)
OKLCHoklch(57.02% 0.213 300.3)
XYZxyz(27.0558, 16.2472, 71.5083)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CDF #9DDF4C
analogous
#4C53DF #8E4CDF #D74CDF
triadic
#8E4CDF #DF8E4C #4CDF8E
tetradic
#8E4CDF #DF4C53 #9DDF4C #4CDFD7
square
#8E4CDF #DF4C53 #9DDF4C #4CDFD7
split-complementary
#8E4CDF #DFD74C #53DF4C
monochromatic
#521B96 #6E24CA #8E4CDF #AF80E8 #D0B4F2

Accessibility & contrast

On white

4.94
#8E4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8E4CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4CDF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4CDF#FFFFFF#000000##FFFFFF
##8E4CDF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#7C6E8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4cdf;
/* rgb */ color: rgb(142, 76, 223);
/* oklch */ color: oklch(57.0% 0.213 300.3);
Tailwind
colors: {
  custom: {
    50: '#b582ea',
    500: '#8e4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #8e4cdf;
$custom-light: #b582ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4cdf",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 266.939,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.21339,
    "h": 300.3
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#8E4CDF
secondary
#C6E0A6
accent
#EC3B9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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