#8E4BC2#8E4BC2

#8E4BC2 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.183 H 307.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8E4BC2
RGBrgb(142, 75, 194)
HSLhsl(274, 49%, 53%)
HSVhsv(274, 61%, 76%)
CMYKcmyk(26.8%, 61.3%, 0%, 23.9%)
CIE-LABlab(45.19, 49.65, -51.46)
CIE-LCHlch(45.19, 71.51, 313.98°)
OKLaboklab(54.89% 0.1109 -0.1453)
OKLCHoklch(54.89% 0.183 307.4)
XYZxyz(23.4070, 14.6783, 52.6286)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BC2 #7FC24B
analogous
#534BC2 #8E4BC2 #C24BBA
triadic
#8E4BC2 #C28E4B #4BC28E
tetradic
#8E4BC2 #C2534B #7FC24B #4BBAC2
square
#8E4BC2 #C2534B #7FC24B #4BBAC2
split-complementary
#8E4BC2 #BAC24B #4BC253
monochromatic
#4E256D #6E359B #8E4BC2 #AB79D1 #C7A6E1

Accessibility & contrast

On white

5.34
#8E4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8E4BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BC2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BC2#FFFFFF#000000##FFFFFF
##8E4BC21.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F68C6
Deuteranopia (green-blind)
#366CBF
Tritanopia (blue-blind)
#86637F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e4bc2;
/* rgb */ color: rgb(142, 75, 194);
/* oklch */ color: oklch(54.9% 0.183 307.4);
Tailwind
colors: {
  custom: {
    50: '#b381d5',
    500: '#8e4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bc2;
$custom-light: #b381d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bc2",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 273.782,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.18279,
    "h": 307.4
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#8E4BC2
secondary
#B1CE9B
accent
#D94F8B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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