#8E4BCC#8E4BCC

#8E4BCC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.6% C 0.194 H 304.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8E4BCC
RGBrgb(142, 75, 204)
HSLhsl(271, 56%, 55%)
HSVhsv(271, 63%, 80%)
CMYKcmyk(30.4%, 63.2%, 0%, 20%)
CIE-LABlab(45.83, 52.00, -56.21)
CIE-LCHlch(45.83, 76.58, 312.77°)
OKLaboklab(55.55% 0.1105 -0.1593)
OKLCHoklch(55.55% 0.194 304.7)
XYZxyz(24.5681, 15.1427, 58.7436)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BCC #89CC4B
analogous
#4E4BCC #8E4BCC #CC4BC9
triadic
#8E4BCC #CC8E4B #4BCC8E
tetradic
#8E4BCC #CC4E4B #89CC4B #4BC9CC
square
#8E4BCC #CC4E4B #89CC4B #4BC9CC
split-complementary
#8E4BCC #C9CC4B #4BCC4E
monochromatic
#50237A #6F30AA #8E4BCC #AC7BDA #CAAAE7

Accessibility & contrast

On white

5.21
#8E4BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8E4BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BCC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BCC#FFFFFF#000000##FFFFFF
##8E4BCC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#296DC9
Tritanopia (blue-blind)
#836685
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e4bcc;
/* rgb */ color: rgb(142, 75, 204);
/* oklch */ color: oklch(55.6% 0.194 304.7);
Tailwind
colors: {
  custom: {
    50: '#b381dc',
    500: '#8e4bcc',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bcc;
$custom-light: #b381dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bcc",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 271.163,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.19382,
    "h": 304.7
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

primary
#8E4BCC
secondary
#B8D59E
accent
#DF4991
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E4BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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