#8E3FCD#8E3FCD

#8E3FCD is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.211 H 305.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8E3FCD
RGBrgb(142, 63, 205)
HSLhsl(273, 59%, 53%)
HSVhsv(273, 69%, 80%)
CMYKcmyk(30.7%, 69.3%, 0%, 19.6%)
CIE-LABlab(43.82, 57.97, -60.04)
CIE-LCHlch(43.82, 83.45, 314.00°)
OKLaboklab(54.13% 0.1236 -0.1704)
OKLCHoklch(54.13% 0.211 305.9)
XYZxyz(23.9499, 13.7138, 59.1311)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3FCD #7ECD3F
analogous
#473FCD #8E3FCD #CD3FC5
triadic
#8E3FCD #CD8E3F #3FCD8E
tetradic
#8E3FCD #CD473F #7ECD3F #3FC5CD
square
#8E3FCD #CD473F #7ECD3F #3FC5CD
split-complementary
#8E3FCD #C5CD3F #3FCD47
monochromatic
#4E1E74 #6E2BA4 #8E3FCD #AB70DA #C7A0E6

Accessibility & contrast

On white

5.61
#8E3FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8E3FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3FCD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3FCD#FFFFFF#000000##FFFFFF
##8E3FCD1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0A68CA
Tritanopia (blue-blind)
#835F81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e3fcd;
/* rgb */ color: rgb(142, 63, 205);
/* oklch */ color: oklch(54.1% 0.211 305.9);
Tailwind
colors: {
  custom: {
    50: '#b47add',
    500: '#8e3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #8e3fcd;
$custom-light: #b47add;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3fcd",
  "rgb": {
    "r": 142,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 273.38,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54131,
    "c": 0.21051,
    "h": 305.9
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#8E3FCD
secondary
#B0D395
accent
#E2468B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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