#8E55BC#8E55BC

#8E55BC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.0% C 0.161 H 307.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8E55BC
RGBrgb(142, 85, 188)
HSLhsl(273, 43%, 54%)
HSVhsv(273, 55%, 74%)
CMYKcmyk(24.5%, 54.8%, 0%, 26.3%)
CIE-LABlab(46.82, 42.97, -45.37)
CIE-LCHlch(46.82, 62.49, 313.44°)
OKLaboklab(55.96% 0.098 -0.1275)
OKLCHoklch(55.96% 0.161 307.6)
XYZxyz(23.4791, 15.8789, 49.3952)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E55BC #83BC55
analogous
#5A55BC #8E55BC #BC55B6
triadic
#8E55BC #BC8E55 #55BC8E
tetradic
#8E55BC #BC5A55 #83BC55 #55B6BC
square
#8E55BC #BC5A55 #83BC55 #55B6BC
split-complementary
#8E55BC #B6BC55 #55BC5A
monochromatic
#4F2B6C #6F3C98 #8E55BC #AB81CD #C8ADDF

Accessibility & contrast

On white

5.03
#8E55BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8E55BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E55BC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E55BC#FFFFFF#000000##FFFFFF
##8E55BC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBF
Deuteranopia (green-blind)
#4770B9
Tritanopia (blue-blind)
#876880
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e55bc;
/* rgb */ color: rgb(142, 85, 188);
/* oklch */ color: oklch(56.0% 0.161 307.6);
Tailwind
colors: {
  custom: {
    50: '#b287d1',
    500: '#8e55bc',
    950: '#000000',
  },
}
SCSS
$custom: #8e55bc;
$custom-light: #b287d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e55bc",
  "rgb": {
    "r": 142,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 273.204,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.16084,
    "h": 307.6
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#8E55BC
secondary
#B4CCA0
accent
#D3558D
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8E55BC

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

Preview Lab → · Contrast checker → · Palette generator →

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