#8E3CDB#8E3CDB

#8E3CDB is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.228 H 303.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8E3CDB
RGBrgb(142, 60, 219)
HSLhsl(271, 69%, 55%)
HSVhsv(271, 73%, 86%)
CMYKcmyk(35.2%, 72.6%, 0%, 14.1%)
CIE-LABlab(44.37, 62.49, -67.18)
CIE-LCHlch(44.37, 91.75, 312.93°)
OKLaboklab(54.84% 0.1242 -0.1914)
OKLCHoklch(54.84% 0.228 303)
XYZxyz(25.5544, 14.0970, 68.3788)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3CDB #89DB3C
analogous
#3E3CDB #8E3CDB #DB3CD9
triadic
#8E3CDB #DB8E3C #3CDB8E
tetradic
#8E3CDB #DB3E3C #89DB3C #3CD9DB
square
#8E3CDB #DB3E3C #89DB3C #3CD9DB
split-complementary
#8E3CDB #D9DB3C #3CDB3E
monochromatic
#501884 #6F22B8 #8E3CDB #AC70E5 #CAA3EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E3CDB#FFFFFF#000000##FFFFFF
##8E3CDB1.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)
#0067E0
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#7E6388
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e3cdb;
/* rgb */ color: rgb(142, 60, 219);
/* oklch */ color: oklch(54.8% 0.228 303.0);
Tailwind
colors: {
  custom: {
    50: '#b579e7',
    500: '#8e3cdb',
    950: '#000000',
  },
}
SCSS
$custom: #8e3cdb;
$custom-light: #b579e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3cdb",
  "rgb": {
    "r": 142,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 270.943,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.22816,
    "h": 303
  },
  "luminance": 0.14097
}

Semantic roles & 50–950 ramp

primary
#8E3CDB
secondary
#B8DB98
accent
#EC3C91
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E3CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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