#8E4BC1#8E4BC1

#8E4BC1 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.182 H 307.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8E4BC1
RGBrgb(142, 75, 193)
HSLhsl(274, 49%, 53%)
HSVhsv(274, 61%, 76%)
CMYKcmyk(26.4%, 61.1%, 0%, 24.3%)
CIE-LABlab(45.13, 49.42, -50.98)
CIE-LCHlch(45.13, 71.00, 314.11°)
OKLaboklab(54.82% 0.1109 -0.1439)
OKLCHoklch(54.82% 0.182 307.6)
XYZxyz(23.2951, 14.6335, 52.0391)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BC1 #7EC14B
analogous
#534BC1 #8E4BC1 #C14BB9
triadic
#8E4BC1 #C18E4B #4BC18E
tetradic
#8E4BC1 #C1534B #7EC14B #4BB9C1
square
#8E4BC1 #C1534B #7EC14B #4BB9C1
split-complementary
#8E4BC1 #B9C14B #4BC153
monochromatic
#4E256C #6E359A #8E4BC1 #AB79D1 #C7A6E0

Accessibility & contrast

On white

5.35
#8E4BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8E4BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BC1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BC1#FFFFFF#000000##FFFFFF
##8E4BC11.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1268C5
Deuteranopia (green-blind)
#376BBE
Tritanopia (blue-blind)
#86627F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e4bc1;
/* rgb */ color: rgb(142, 75, 193);
/* oklch */ color: oklch(54.8% 0.182 307.6);
Tailwind
colors: {
  custom: {
    50: '#b381d4',
    500: '#8e4bc1',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bc1;
$custom-light: #b381d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bc1",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 274.068,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.18168,
    "h": 307.6
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#8E4BC1
secondary
#B0CE9A
accent
#D84F8B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E4BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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