#8E4DDF#8E4DDF

#8E4DDF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.212 H 300.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8E4DDF
RGBrgb(142, 77, 223)
HSLhsl(267, 70%, 59%)
HSVhsv(267, 65%, 87%)
CMYKcmyk(36.3%, 65.5%, 0%, 12.5%)
CIE-LABlab(47.48, 55.58, -64.42)
CIE-LCHlch(47.48, 85.09, 310.79°)
OKLaboklab(57.15% 0.1066 -0.1834)
OKLCHoklch(57.15% 0.212 300.2)
XYZxyz(27.1252, 16.3860, 71.5315)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DDF #9EDF4D
analogous
#4D55DF #8E4DDF #D74DDF
triadic
#8E4DDF #DF8E4D #4DDF8E
tetradic
#8E4DDF #DF4D55 #9EDF4D #4DDFD7
square
#8E4DDF #DF4D55 #9EDF4D #4DDFD7
split-complementary
#8E4DDF #DFD74D #55DF4D
monochromatic
#521B97 #6E24CA #8E4DDF #AF81E8 #D0B5F2

Accessibility & contrast

On white

4.91
#8E4DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8E4DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4DDF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4DDF#FFFFFF#000000##FFFFFF
##8E4DDF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#7C6E90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e4ddf;
/* rgb */ color: rgb(142, 77, 223);
/* oklch */ color: oklch(57.1% 0.212 300.2);
Tailwind
colors: {
  custom: {
    50: '#b583ea',
    500: '#8e4ddf',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ddf;
$custom-light: #b583ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ddf",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 266.712,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.21212,
    "h": 300.2
  },
  "luminance": 0.16386
}

Semantic roles & 50–950 ramp

primary
#8E4DDF
secondary
#C7E1A7
accent
#EC3B9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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