#8E3CDF#8E3CDF

#8E3CDF is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.2% C 0.232 H 302.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8E3CDF
RGBrgb(142, 60, 223)
HSLhsl(270, 72%, 55%)
HSVhsv(270, 73%, 87%)
CMYKcmyk(36.3%, 73.1%, 0%, 12.5%)
CIE-LABlab(44.67, 63.41, -68.97)
CIE-LCHlch(44.67, 93.69, 312.59°)
OKLaboklab(55.15% 0.1234 -0.1967)
OKLCHoklch(55.15% 0.232 302.1)
XYZxyz(26.0873, 14.3101, 71.1855)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3CDF #8DDF3C
analogous
#3C3CDF #8E3CDF #DF3CDE
triadic
#8E3CDF #DF8E3C #3CDF8E
tetradic
#8E3CDF #DF3C3C #8DDF3C #3CDEDF
square
#8E3CDF #DF3C3C #8DDF3C #3CDEDF
split-complementary
#8E3CDF #DEDF3C #3CDF3C
monochromatic
#51178A #6F1FBF #8E3CDF #AC71E8 #CBA5F0

Accessibility & contrast

On white

5.44
#8E3CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8E3CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3CDF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3CDF#FFFFFF#000000##FFFFFF
##8E3CDF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#7D658B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e3cdf;
/* rgb */ color: rgb(142, 60, 223);
/* oklch */ color: oklch(55.2% 0.232 302.1);
Tailwind
colors: {
  custom: {
    50: '#b679ea',
    500: '#8e3cdf',
    950: '#000000',
  },
}
SCSS
$custom: #8e3cdf;
$custom-light: #b679ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3cdf",
  "rgb": {
    "r": 142,
    "g": 60,
    "b": 223
  },
  "hsl": {
    "h": 270.184,
    "s": 71.806,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.23217,
    "h": 302.1
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#8E3CDF
secondary
#BBDD99
accent
#EF3993
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E3CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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