#8E3CD5#8E3CD5

#8E3CD5 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.4% C 0.222 H 304.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8E3CD5
RGBrgb(142, 60, 213)
HSLhsl(272, 65%, 54%)
HSVhsv(272, 72%, 84%)
CMYKcmyk(33.3%, 71.8%, 0%, 16.5%)
CIE-LABlab(43.93, 61.11, -64.47)
CIE-LCHlch(43.93, 88.83, 313.47°)
OKLaboklab(54.39% 0.1253 -0.1834)
OKLCHoklch(54.39% 0.222 304.3)
XYZxyz(24.7787, 13.7867, 64.2936)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3CD5 #83D53C
analogous
#413CD5 #8E3CD5 #D53CCF
triadic
#8E3CD5 #D58E3C #3CD58E
tetradic
#8E3CD5 #D5413C #83D53C #3CCFD5
square
#8E3CD5 #D5413C #83D53C #3CCFD5
split-complementary
#8E3CD5 #CFD53C #3CD541
monochromatic
#4F1B7C #6F26AE #8E3CD5 #AB6EE0 #C8A1EB

Accessibility & contrast

On white

5.59
#8E3CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8E3CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3CD5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3CD5#FFFFFF#000000##FFFFFF
##8E3CD51.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#806185
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e3cd5;
/* rgb */ color: rgb(142, 60, 213);
/* oklch */ color: oklch(54.4% 0.222 304.3);
Tailwind
colors: {
  custom: {
    50: '#b579e3',
    500: '#8e3cd5',
    950: '#000000',
  },
}
SCSS
$custom: #8e3cd5;
$custom-light: #b579e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3cd5",
  "rgb": {
    "r": 142,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 272.157,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54387,
    "c": 0.22215,
    "h": 304.3
  },
  "luminance": 0.13787
}

Semantic roles & 50–950 ramp

primary
#8E3CD5
secondary
#B4D796
accent
#E8408E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8E3CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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