#8E48BB#8E48BB

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

Color values

HEX#8E48BB
RGBrgb(142, 72, 187)
HSLhsl(277, 46%, 51%)
HSVhsv(277, 61%, 73%)
CMYKcmyk(24.1%, 61.5%, 0%, 26.7%)
CIE-LABlab(44.20, 49.57, -48.98)
CIE-LCHlch(44.20, 69.68, 315.34°)
OKLaboklab(54.02% 0.1148 -0.138)
OKLCHoklch(54.02% 0.179 309.7)
XYZxyz(22.4406, 13.9738, 48.5191)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E48BB #75BB48
analogous
#5448BB #8E48BB #BB48AE
triadic
#8E48BB #BB8E48 #48BB8E
tetradic
#8E48BB #BB5448 #75BB48 #48AEBB
square
#8E48BB #BB5448 #75BB48 #48AEBB
split-complementary
#8E48BB #AEBB48 #48BB54
monochromatic
#4B2564 #6D3690 #8E48BB #AA75CC #C5A1DC

Accessibility & contrast

On white

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

On black

3.79
#8E48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E48BB#FFFFFF#000000##FFFFFF
##8E48BB1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#885E7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e48bb;
/* rgb */ color: rgb(142, 72, 187);
/* oklch */ color: oklch(54.0% 0.179 309.7);
Tailwind
colors: {
  custom: {
    50: '#b27fd0',
    500: '#8e48bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e48bb;
$custom-light: #b27fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e48bb",
  "rgb": {
    "r": 142,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 276.522,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.17949,
    "h": 309.7
  },
  "luminance": 0.13973
}

Semantic roles & 50–950 ramp

primary
#8E48BB
secondary
#AAC996
accent
#D55286
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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