#8E48D1#8E48D1

#8E48D1 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.203 H 303.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8E48D1
RGBrgb(142, 72, 209)
HSLhsl(271, 60%, 55%)
HSVhsv(271, 66%, 82%)
CMYKcmyk(32.1%, 65.6%, 0%, 18%)
CIE-LABlab(45.62, 54.67, -59.43)
CIE-LCHlch(45.62, 80.75, 312.61°)
OKLaboklab(55.51% 0.1135 -0.1687)
OKLCHoklch(55.51% 0.203 303.9)
XYZxyz(24.9787, 14.9890, 61.8865)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E48D1 #8BD148
analogous
#4A48D1 #8E48D1 #D148CF
triadic
#8E48D1 #D18E48 #48D18E
tetradic
#8E48D1 #D14A48 #8BD148 #48CFD1
square
#8E48D1 #D14A48 #8BD148 #48CFD1
split-complementary
#8E48D1 #CFD148 #48D14A
monochromatic
#50207F #6F2CB0 #8E48D1 #AC79DD #CAAAEA

Accessibility & contrast

On white

5.25
#8E48D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8E48D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E48D1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E48D1#FFFFFF#000000##FFFFFF
##8E48D11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#196CCE
Tritanopia (blue-blind)
#816686
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e48d1;
/* rgb */ color: rgb(142, 72, 209);
/* oklch */ color: oklch(55.5% 0.203 303.9);
Tailwind
colors: {
  custom: {
    50: '#b47fe0',
    500: '#8e48d1',
    950: '#000000',
  },
}
SCSS
$custom: #8e48d1;
$custom-light: #b47fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e48d1",
  "rgb": {
    "r": 142,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 270.657,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55507,
    "c": 0.2033,
    "h": 303.9
  },
  "luminance": 0.14989
}

Semantic roles & 50–950 ramp

primary
#8E48D1
secondary
#BAD79E
accent
#E34592
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E48D1

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

Preview Lab → · Contrast checker → · Palette generator →

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