#8E3FDE#8E3FDE

#8E3FDE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.228 H 302.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8E3FDE
RGBrgb(142, 63, 222)
HSLhsl(270, 71%, 56%)
HSVhsv(270, 72%, 87%)
CMYKcmyk(36%, 71.6%, 0%, 12.9%)
CIE-LABlab(45.05, 61.89, -67.79)
CIE-LCHlch(45.05, 91.79, 312.40°)
OKLaboklab(55.4% 0.1208 -0.1932)
OKLCHoklch(55.4% 0.228 302)
XYZxyz(26.1145, 14.5796, 70.5314)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3FDE #8FDE3F
analogous
#3F3FDE #8E3FDE #DD3FDE
triadic
#8E3FDE #DE8E3F #3FDE8E
tetradic
#8E3FDE #DE3F3F #8FDE3F #3FDEDD
square
#8E3FDE #DE3F3F #8FDE3F #3FDEDD
split-complementary
#8E3FDE #DEDD3F #3FDE3F
monochromatic
#51188B #6F21BF #8E3FDE #AD73E7 #CBA7F0

Accessibility & contrast

On white

5.36
#8E3FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8E3FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3FDE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3FDE#FFFFFF#000000##FFFFFF
##8E3FDE1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#7D668B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e3fde;
/* rgb */ color: rgb(142, 63, 222);
/* oklch */ color: oklch(55.4% 0.228 302.0);
Tailwind
colors: {
  custom: {
    50: '#b57be9',
    500: '#8e3fde',
    950: '#000000',
  },
}
SCSS
$custom: #8e3fde;
$custom-light: #b57be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3fde",
  "rgb": {
    "r": 142,
    "g": 63,
    "b": 222
  },
  "hsl": {
    "h": 269.811,
    "s": 70.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55395,
    "c": 0.22788,
    "h": 302
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#8E3FDE
secondary
#BDDD9B
accent
#ED3A94
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E3FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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