#8E4BB5#8E4BB5

#8E4BB5 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.168 H 311.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8E4BB5
RGBrgb(142, 75, 181)
HSLhsl(278, 42%, 50%)
HSVhsv(278, 59%, 71%)
CMYKcmyk(21.5%, 58.6%, 0%, 29%)
CIE-LABlab(44.40, 46.68, -45.13)
CIE-LCHlch(44.40, 64.93, 315.97°)
OKLaboklab(54.06% 0.111 -0.1268)
OKLCHoklch(54.06% 0.168 311.2)
XYZxyz(22.0104, 14.1196, 45.2730)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BB5 #72B54B
analogous
#594BB5 #8E4BB5 #B54BA7
triadic
#8E4BB5 #B58E4B #4BB58E
tetradic
#8E4BB5 #B5594B #72B54B #4BA7B5
square
#8E4BB5 #B5594B #72B54B #4BA7B5
split-complementary
#8E4BB5 #A7B54B #4BB559
monochromatic
#4A275F #6C398A #8E4BB5 #A976C7 #C4A2D9

Accessibility & contrast

On white

5.49
#8E4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8E4BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BB5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BB5#FFFFFF#000000##FFFFFF
##8E4BB51.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2766B8
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#895E79
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e4bb5;
/* rgb */ color: rgb(142, 75, 181);
/* oklch */ color: oklch(54.1% 0.168 311.2);
Tailwind
colors: {
  custom: {
    50: '#b280cc',
    500: '#8e4bb5',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bb5;
$custom-light: #b280cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bb5",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 277.925,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.16846,
    "h": 311.2
  },
  "luminance": 0.14119
}

Semantic roles & 50–950 ramp

primary
#8E4BB5
secondary
#A8C696
accent
#D25684
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8E4BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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