#8E4CEB#8E4CEB

#8E4CEB is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.226 H 297.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8E4CEB
RGBrgb(142, 76, 235)
HSLhsl(265, 80%, 61%)
HSVhsv(265, 68%, 92%)
CMYKcmyk(39.6%, 67.7%, 0%, 7.8%)
CIE-LABlab(48.16, 59.03, -70.11)
CIE-LCHlch(48.16, 91.65, 310.10°)
OKLaboklab(57.9% 0.1061 -0.2001)
OKLCHoklch(57.9% 0.226 297.9)
XYZxyz(28.7313, 16.9174, 80.3328)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CEB #A9EB4C
analogous
#4C59EB #8E4CEB #DE4CEB
triadic
#8E4CEB #EB8E4C #4CEB8E
tetradic
#8E4CEB #EB4C59 #A9EB4C #4CEBDE
square
#8E4CEB #EB4C59 #A9EB4C #4CEBDE
split-complementary
#8E4CEB #EBDE4C #59EB4C
monochromatic
#5213AA #6C19E1 #8E4CEB #B183F1 #D4BAF7

Accessibility & contrast

On white

4.79
#8E4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8E4CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4CEB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4CEB#FFFFFF#000000##FFFFFF
##8E4CEB1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#777296
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e4ceb;
/* rgb */ color: rgb(142, 76, 235);
/* oklch */ color: oklch(57.9% 0.226 297.9);
Tailwind
colors: {
  custom: {
    50: '#b683f2',
    500: '#8e4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ceb;
$custom-light: #b683f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ceb",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 264.906,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57904,
    "c": 0.22648,
    "h": 297.9
  },
  "luminance": 0.16918
}

Semantic roles & 50–950 ramp

primary
#8E4CEB
secondary
#CEE7AB
accent
#DC0985
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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