#8E4BB2#8E4BB2

#8E4BB2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.165 H 312.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8E4BB2
RGBrgb(142, 75, 178)
HSLhsl(279, 41%, 50%)
HSVhsv(279, 58%, 70%)
CMYKcmyk(20.2%, 57.9%, 0%, 30.2%)
CIE-LABlab(44.23, 46.01, -43.65)
CIE-LCHlch(44.23, 63.42, 316.51°)
OKLaboklab(53.88% 0.1109 -0.1224)
OKLCHoklch(53.88% 0.165 312.2)
XYZxyz(21.7059, 13.9978, 43.6693)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BB2 #6FB24B
analogous
#5B4BB2 #8E4BB2 #B24BA3
triadic
#8E4BB2 #B28E4B #4BB28E
tetradic
#8E4BB2 #B25B4B #6FB24B #4BA3B2
square
#8E4BB2 #B25B4B #6FB24B #4BA3B2
split-complementary
#8E4BB2 #A3B24B #4BB25B
monochromatic
#49275C #6C3987 #8E4BB2 #A975C5 #C4A0D7

Accessibility & contrast

On white

5.53
#8E4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8E4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BB2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BB2#FFFFFF#000000##FFFFFF
##8E4BB21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B5
Deuteranopia (green-blind)
#446AAF
Tritanopia (blue-blind)
#8A5D77
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e4bb2;
/* rgb */ color: rgb(142, 75, 178);
/* oklch */ color: oklch(53.9% 0.165 312.2);
Tailwind
colors: {
  custom: {
    50: '#b280c9',
    500: '#8e4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bb2;
$custom-light: #b280c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bb2",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 279.029,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.16516,
    "h": 312.2
  },
  "luminance": 0.13997
}

Semantic roles & 50–950 ramp

primary
#8E4BB2
secondary
#A5C495
accent
#D15782
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8E4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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