#8E49DB#8E49DB

#8E49DB is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.213 H 301.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8E49DB
RGBrgb(142, 73, 219)
HSLhsl(268, 67%, 57%)
HSVhsv(268, 67%, 86%)
CMYKcmyk(35.2%, 66.7%, 0%, 14.1%)
CIE-LABlab(46.49, 56.57, -63.75)
CIE-LCHlch(46.49, 85.23, 311.59°)
OKLaboklab(56.35% 0.1113 -0.1814)
OKLCHoklch(56.35% 0.213 301.5)
XYZxyz(26.3210, 15.6302, 68.6343)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49DB #96DB49
analogous
#494DDB #8E49DB #D749DB
triadic
#8E49DB #DB8E49 #49DB8E
tetradic
#8E49DB #DB494D #96DB49 #49DBD7
square
#8E49DB #DB494D #96DB49 #49DBD7
split-complementary
#8E49DB #DBD749 #4DDB49
monochromatic
#521C8E #6F26C1 #8E49DB #AE7CE5 #CDAFEF

Accessibility & contrast

On white

5.09
#8E49DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8E49DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E49DB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49DB#FFFFFF#000000##FFFFFF
##8E49DB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#7E6A8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e49db;
/* rgb */ color: rgb(142, 73, 219);
/* oklch */ color: oklch(56.3% 0.213 301.5);
Tailwind
colors: {
  custom: {
    50: '#b480e7',
    500: '#8e49db',
    950: '#000000',
  },
}
SCSS
$custom: #8e49db;
$custom-light: #b480e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49db",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 268.356,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56348,
    "c": 0.21283,
    "h": 301.5
  },
  "luminance": 0.1563
}

Semantic roles & 50–950 ramp

primary
#8E49DB
secondary
#C2DDA2
accent
#EA3E99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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