#8E4BDC#8E4BDC

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

Color values

HEX#8E4BDC
RGBrgb(142, 75, 220)
HSLhsl(268, 67%, 58%)
HSVhsv(268, 66%, 86%)
CMYKcmyk(35.5%, 65.9%, 0%, 13.7%)
CIE-LABlab(46.91, 55.84, -63.63)
CIE-LCHlch(46.91, 84.66, 311.27°)
OKLaboklab(56.67% 0.1091 -0.1811)
OKLCHoklch(56.67% 0.211 301.1)
XYZxyz(26.5866, 15.9501, 69.3743)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BDC #99DC4B
analogous
#4B50DC #8E4BDC #D64BDC
triadic
#8E4BDC #DC8E4B #4BDC8E
tetradic
#8E4BDC #DC4B50 #99DC4B #4BDCD6
square
#8E4BDC #DC4B50 #99DC4B #4BDCD6
split-complementary
#8E4BDC #DCD64B #50DC4B
monochromatic
#521C91 #6F26C4 #8E4BDC #AE7EE6 #CEB1F0

Accessibility & contrast

On white

5.01
#8E4BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8E4BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BDC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BDC#FFFFFF#000000##FFFFFF
##8E4BDC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#7D6C8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4bdc;
/* rgb */ color: rgb(142, 75, 220);
/* oklch */ color: oklch(56.7% 0.211 301.1);
Tailwind
colors: {
  custom: {
    50: '#b481e8',
    500: '#8e4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bdc;
$custom-light: #b481e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bdc",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 267.724,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.21138,
    "h": 301.1
  },
  "luminance": 0.1595
}

Semantic roles & 50–950 ramp

primary
#8E4BDC
secondary
#C4DEA4
accent
#EA3D9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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