#8E3ECB#8E3ECB

#8E3ECB is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.210 H 306.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8E3ECB
RGBrgb(142, 62, 203)
HSLhsl(274, 58%, 52%)
HSVhsv(274, 69%, 80%)
CMYKcmyk(30%, 69.5%, 0%, 20.4%)
CIE-LABlab(43.52, 57.96, -59.37)
CIE-LCHlch(43.52, 82.97, 314.31°)
OKLaboklab(53.87% 0.1249 -0.1685)
OKLCHoklch(53.87% 0.21 306.5)
XYZxyz(23.6551, 13.5081, 57.8495)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3ECB #7BCB3E
analogous
#483ECB #8E3ECB #CB3EC1
triadic
#8E3ECB #CB8E3E #3ECB8E
tetradic
#8E3ECB #CB483E #7BCB3E #3EC1CB
square
#8E3ECB #CB483E #7BCB3E #3EC1CB
split-complementary
#8E3ECB #C1CB3E #3ECB48
monochromatic
#4D1E70 #6E2BA1 #8E3ECB #AA6ED8 #C69EE5

Accessibility & contrast

On white

5.67
#8E3ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8E3ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3ECB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3ECB#FFFFFF#000000##FFFFFF
##8E3ECB1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0F67C8
Tritanopia (blue-blind)
#845E80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e3ecb;
/* rgb */ color: rgb(142, 62, 203);
/* oklch */ color: oklch(53.9% 0.210 306.5);
Tailwind
colors: {
  custom: {
    50: '#b47adc',
    500: '#8e3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #8e3ecb;
$custom-light: #b47adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3ecb",
  "rgb": {
    "r": 142,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 274.043,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53872,
    "c": 0.20969,
    "h": 306.5
  },
  "luminance": 0.13508
}

Semantic roles & 50–950 ramp

primary
#8E3ECB
secondary
#AED194
accent
#E1478A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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