#8E4BCE#8E4BCE

#8E4BCE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.7% C 0.196 H 304.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8E4BCE
RGBrgb(142, 75, 206)
HSLhsl(271, 57%, 55%)
HSVhsv(271, 64%, 81%)
CMYKcmyk(31.1%, 63.6%, 0%, 19.2%)
CIE-LABlab(45.96, 52.47, -57.15)
CIE-LCHlch(45.96, 77.59, 312.56°)
OKLaboklab(55.69% 0.1103 -0.162)
OKLCHoklch(55.69% 0.196 304.3)
XYZxyz(24.8095, 15.2393, 60.0150)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BCE #8BCE4B
analogous
#4D4BCE #8E4BCE #CE4BCC
triadic
#8E4BCE #CE8E4B #4BCE8E
tetradic
#8E4BCE #CE4D4B #8BCE4B #4BCCCE
square
#8E4BCE #CE4D4B #8BCE4B #4BCCCE
split-complementary
#8E4BCE #CCCE4B #4BCE4D
monochromatic
#50227D #6F2FAD #8E4BCE #AC7BDB #CAABE8

Accessibility & contrast

On white

5.19
#8E4BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8E4BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BCE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BCE#FFFFFF#000000##FFFFFF
##8E4BCE1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#826786
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e4bce;
/* rgb */ color: rgb(142, 75, 206);
/* oklch */ color: oklch(55.7% 0.196 304.3);
Tailwind
colors: {
  custom: {
    50: '#b381de',
    500: '#8e4bce',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bce;
$custom-light: #b381de;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bce",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 270.687,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55689,
    "c": 0.19602,
    "h": 304.3
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#8E4BCE
secondary
#BAD69F
accent
#E04792
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E4BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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