#8E49BB#8E49BB

#8E49BB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.178 H 309.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8E49BB
RGBrgb(142, 73, 187)
HSLhsl(276, 46%, 51%)
HSVhsv(276, 61%, 73%)
CMYKcmyk(24.1%, 61%, 0%, 26.7%)
CIE-LABlab(44.38, 49.06, -48.68)
CIE-LCHlch(44.38, 69.11, 315.23°)
OKLaboklab(54.16% 0.1135 -0.1371)
OKLCHoklch(54.16% 0.178 309.6)
XYZxyz(22.5058, 14.1041, 48.5409)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49BB #76BB49
analogous
#5549BB #8E49BB #BB49AF
triadic
#8E49BB #BB8E49 #49BB8E
tetradic
#8E49BB #BB5549 #76BB49 #49AFBB
square
#8E49BB #BB5549 #76BB49 #49AFBB
split-complementary
#8E49BB #AFBB49 #49BB55
monochromatic
#4B2564 #6D3691 #8E49BB #AA76CC #C5A2DC

Accessibility & contrast

On white

5.50
#8E49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E49BB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49BB#FFFFFF#000000##FFFFFF
##8E49BB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#885F7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e49bb;
/* rgb */ color: rgb(142, 73, 187);
/* oklch */ color: oklch(54.2% 0.178 309.6);
Tailwind
colors: {
  custom: {
    50: '#b27fd0',
    500: '#8e49bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e49bb;
$custom-light: #b27fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49bb",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 276.316,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.17802,
    "h": 309.6
  },
  "luminance": 0.14104
}

Semantic roles & 50–950 ramp

primary
#8E49BB
secondary
#ABC997
accent
#D55386
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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