#8E3BCC#8E3BCC

#8E3BCC is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.214 H 306.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8E3BCC
RGBrgb(142, 59, 204)
HSLhsl(274, 59%, 52%)
HSVhsv(274, 71%, 80%)
CMYKcmyk(30.4%, 71.1%, 0%, 20%)
CIE-LABlab(43.12, 59.50, -60.59)
CIE-LCHlch(43.12, 84.92, 314.48°)
OKLaboklab(53.61% 0.1278 -0.172)
OKLCHoklch(53.61% 0.214 306.6)
XYZxyz(23.6160, 13.2386, 58.4262)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BCC #79CC3B
analogous
#463BCC #8E3BCC #CC3BC1
triadic
#8E3BCC #CC8E3B #3BCC8E
tetradic
#8E3BCC #CC463B #79CC3B #3BC1CC
square
#8E3BCC #CC463B #79CC3B #3BC1CC
split-complementary
#8E3BCC #C1CC3B #3BCC46
monochromatic
#4C1D70 #6D2AA0 #8E3BCC #AA6CD9 #C69CE5

Accessibility & contrast

On white

5.76
#8E3BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8E3BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BCC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BCC#FFFFFF#000000##FFFFFF
##8E3BCC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#835D80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e3bcc;
/* rgb */ color: rgb(142, 59, 204);
/* oklch */ color: oklch(53.6% 0.214 306.6);
Tailwind
colors: {
  custom: {
    50: '#b478dc',
    500: '#8e3bcc',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bcc;
$custom-light: #b478dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bcc",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 274.345,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.21428,
    "h": 306.6
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#8E3BCC
secondary
#ADD192
accent
#E24689
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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