#8E4CDA#8E4CDA

#8E4CDA is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.208 H 301.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8E4CDA
RGBrgb(142, 76, 218)
HSLhsl(268, 66%, 58%)
HSVhsv(268, 65%, 85%)
CMYKcmyk(34.9%, 65.1%, 0%, 14.5%)
CIE-LABlab(46.95, 54.86, -62.43)
CIE-LCHlch(46.95, 83.11, 311.31°)
OKLaboklab(56.66% 0.1082 -0.1775)
OKLCHoklch(56.66% 0.208 301.4)
XYZxyz(26.3916, 15.9815, 68.0104)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CDA #98DA4C
analogous
#4C51DA #8E4CDA #D54CDA
triadic
#8E4CDA #DA8E4C #4CDA8E
tetradic
#8E4CDA #DA4C51 #98DA4C #4CDAD5
square
#8E4CDA #DA4C51 #98DA4C #4CDAD5
split-complementary
#8E4CDA #DAD54C #51DA4C
monochromatic
#521D8E #6F28C1 #8E4CDA #AE7FE4 #CEB1EF

Accessibility & contrast

On white

5.00
#8E4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8E4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4CDA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4CDA#FFFFFF#000000##FFFFFF
##8E4CDA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#066FD7
Tritanopia (blue-blind)
#7E6C8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4cda;
/* rgb */ color: rgb(142, 76, 218);
/* oklch */ color: oklch(56.7% 0.208 301.4);
Tailwind
colors: {
  custom: {
    50: '#b482e6',
    500: '#8e4cda',
    950: '#000000',
  },
}
SCSS
$custom: #8e4cda;
$custom-light: #b482e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4cda",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 267.887,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5666,
    "c": 0.2079,
    "h": 301.4
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#8E4CDA
secondary
#C3DDA4
accent
#E93F9A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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