#8E3BD3#8E3BD3

#8E3BD3 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.221 H 304.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8E3BD3
RGBrgb(142, 59, 211)
HSLhsl(273, 63%, 53%)
HSVhsv(273, 72%, 83%)
CMYKcmyk(32.7%, 72%, 0%, 17.3%)
CIE-LABlab(43.63, 61.08, -63.80)
CIE-LCHlch(43.63, 88.33, 313.75°)
OKLaboklab(54.13% 0.1266 -0.1815)
OKLCHoklch(54.13% 0.221 304.9)
XYZxyz(24.4745, 13.5820, 62.9476)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BD3 #80D33B
analogous
#423BD3 #8E3BD3 #D33BCC
triadic
#8E3BD3 #D38E3B #3BD38E
tetradic
#8E3BD3 #D3423B #80D33B #3BCCD3
square
#8E3BD3 #D3423B #80D33B #3BCCD3
split-complementary
#8E3BD3 #CCD33B #3BD342
monochromatic
#4E1B79 #6E26AB #8E3BD3 #AB6DDE #C89FE9

Accessibility & contrast

On white

5.65
#8E3BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8E3BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BD3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BD3#FFFFFF#000000##FFFFFF
##8E3BD31.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#815F84
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e3bd3;
/* rgb */ color: rgb(142, 59, 211);
/* oklch */ color: oklch(54.1% 0.221 304.9);
Tailwind
colors: {
  custom: {
    50: '#b578e1',
    500: '#8e3bd3',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bd3;
$custom-light: #b578e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bd3",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 272.763,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5413,
    "c": 0.22128,
    "h": 304.9
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#8E3BD3
secondary
#B2D694
accent
#E6418C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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