#8E3CCD#8E3CCD

#8E3CCD is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.8% C 0.214 H 306.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8E3CCD
RGBrgb(142, 60, 205)
HSLhsl(274, 59%, 52%)
HSVhsv(274, 71%, 80%)
CMYKcmyk(30.7%, 70.7%, 0%, 19.6%)
CIE-LABlab(43.35, 59.30, -60.80)
CIE-LCHlch(43.35, 84.93, 314.28°)
OKLaboklab(53.79% 0.1266 -0.1727)
OKLCHoklch(53.79% 0.214 306.2)
XYZxyz(23.7882, 13.3905, 59.0772)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3CCD #7BCD3C
analogous
#463CCD #8E3CCD #CD3CC4
triadic
#8E3CCD #CD8E3C #3CCD8E
tetradic
#8E3CCD #CD463C #7BCD3C #3CC4CD
square
#8E3CCD #CD463C #7BCD3C #3CC4CD
split-complementary
#8E3CCD #C4CD3C #3CCD46
monochromatic
#4D1D71 #6E2AA2 #8E3CCD #AA6DD9 #C69DE6

Accessibility & contrast

On white

5.71
#8E3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8E3CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3CCD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3CCD#FFFFFF#000000##FFFFFF
##8E3CCD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#835E81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e3ccd;
/* rgb */ color: rgb(142, 60, 205);
/* oklch */ color: oklch(53.8% 0.214 306.2);
Tailwind
colors: {
  custom: {
    50: '#b479dd',
    500: '#8e3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8e3ccd;
$custom-light: #b479dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3ccd",
  "rgb": {
    "r": 142,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 273.931,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53794,
    "c": 0.21411,
    "h": 306.2
  },
  "luminance": 0.1339
}

Semantic roles & 50–950 ramp

primary
#8E3CCD
secondary
#AED293
accent
#E2458A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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