#8E48C8#8E48C8

#8E48C8 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.194 H 306.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8E48C8
RGBrgb(142, 72, 200)
HSLhsl(273, 54%, 53%)
HSVhsv(273, 64%, 78%)
CMYKcmyk(29%, 64%, 0%, 21.6%)
CIE-LABlab(45.02, 52.55, -55.21)
CIE-LCHlch(45.02, 76.22, 313.59°)
OKLaboklab(54.89% 0.1142 -0.1563)
OKLCHoklch(54.89% 0.194 306.2)
XYZxyz(23.8958, 14.5559, 56.1831)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E48C8 #82C848
analogous
#4E48C8 #8E48C8 #C848C2
triadic
#8E48C8 #C88E48 #48C88E
tetradic
#8E48C8 #C84E48 #82C848 #48C2C8
square
#8E48C8 #C84E48 #82C848 #48C2C8
split-complementary
#8E48C8 #C2C848 #48C84E
monochromatic
#4F2373 #6F31A2 #8E48C8 #AB77D6 #C8A6E4

Accessibility & contrast

On white

5.37
#8E48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8E48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E48C8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E48C8#FFFFFF#000000##FFFFFF
##8E48C81.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#2A6BC5
Tritanopia (blue-blind)
#846382
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e48c8;
/* rgb */ color: rgb(142, 72, 200);
/* oklch */ color: oklch(54.9% 0.194 306.2);
Tailwind
colors: {
  custom: {
    50: '#b37fd9',
    500: '#8e48c8',
    950: '#000000',
  },
}
SCSS
$custom: #8e48c8;
$custom-light: #b37fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e48c8",
  "rgb": {
    "r": 142,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 272.813,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.19357,
    "h": 306.2
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#8E48C8
secondary
#B3D19A
accent
#DD4B8D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8E48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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