#8E5CC2#8E5CC2

#8E5CC2 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.157 H 304.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8E5CC2
RGBrgb(142, 92, 194)
HSLhsl(269, 46%, 56%)
HSVhsv(269, 53%, 76%)
CMYKcmyk(26.8%, 52.6%, 0%, 23.9%)
CIE-LABlab(48.64, 40.55, -45.95)
CIE-LCHlch(48.64, 61.28, 311.43°)
OKLaboklab(57.41% 0.089 -0.1292)
OKLCHoklch(57.41% 0.157 304.6)
XYZxyz(24.7180, 17.3002, 53.0656)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CC2 #90C25C
analogous
#5C5DC2 #8E5CC2 #C15CC2
triadic
#8E5CC2 #C28E5C #5CC28E
tetradic
#8E5CC2 #C25C5D #90C25C #5CC2C1
square
#8E5CC2 #C25C5D #90C25C #5CC2C1
split-complementary
#8E5CC2 #C2C15C #5DC25C
monochromatic
#512D77 #6F3DA4 #8E5CC2 #AD89D3 #CCB5E3

Accessibility & contrast

On white

4.71
#8E5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8E5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5CC2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CC2#FFFFFF#000000##FFFFFF
##8E5CC21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C5
Deuteranopia (green-blind)
#4A74C0
Tritanopia (blue-blind)
#856F86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e5cc2;
/* rgb */ color: rgb(142, 92, 194);
/* oklch */ color: oklch(57.4% 0.157 304.6);
Tailwind
colors: {
  custom: {
    50: '#b28cd5',
    500: '#8e5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8e5cc2;
$custom-light: #b28cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5cc2",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 269.412,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57412,
    "c": 0.15693,
    "h": 304.6
  },
  "luminance": 0.173
}

Semantic roles & 50–950 ramp

primary
#8E5CC2
secondary
#BDD2A8
accent
#D55395
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8E5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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