#8E4EBF#8E4EBF

#8E4EBF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.175 H 307.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8E4EBF
RGBrgb(142, 78, 191)
HSLhsl(274, 47%, 53%)
HSVhsv(274, 59%, 75%)
CMYKcmyk(25.7%, 59.2%, 0%, 25.1%)
CIE-LABlab(45.58, 47.41, -49.09)
CIE-LCHlch(45.58, 68.24, 314.00°)
OKLaboklab(55.11% 0.1072 -0.1384)
OKLCHoklch(55.11% 0.175 307.8)
XYZxyz(23.2818, 14.9615, 50.9415)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4EBF #7FBF4E
analogous
#554EBF #8E4EBF #BF4EB8
triadic
#8E4EBF #BF8E4E #4EBF8E
tetradic
#8E4EBF #BF554E #7FBF4E #4EB8BF
square
#8E4EBF #BF554E #7FBF4E #4EB8BF
split-complementary
#8E4EBF #B8BF4E #4EBF55
monochromatic
#4E276C #6E3799 #8E4EBF #AB7BCF #C7A8E0

Accessibility & contrast

On white

5.26
#8E4EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8E4EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4EBF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4EBF#FFFFFF#000000##FFFFFF
##8E4EBF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#3D6DBC
Tritanopia (blue-blind)
#87647F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e4ebf;
/* rgb */ color: rgb(142, 78, 191);
/* oklch */ color: oklch(55.1% 0.175 307.8);
Tailwind
colors: {
  custom: {
    50: '#b283d3',
    500: '#8e4ebf',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ebf;
$custom-light: #b283d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ebf",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 273.982,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55111,
    "c": 0.17505,
    "h": 307.8
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#8E4EBF
secondary
#B1CD9C
accent
#D7518B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8E4EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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