#8E55BB#8E55BB

#8E55BB is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.160 H 307.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8E55BB
RGBrgb(142, 85, 187)
HSLhsl(274, 43%, 53%)
HSVhsv(274, 55%, 73%)
CMYKcmyk(24.1%, 54.5%, 0%, 26.7%)
CIE-LABlab(46.76, 42.74, -44.88)
CIE-LCHlch(46.76, 61.97, 313.60°)
OKLaboklab(55.9% 0.098 -0.1261)
OKLCHoklch(55.9% 0.16 307.9)
XYZxyz(23.3717, 15.8359, 48.8295)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E55BB #82BB55
analogous
#5B55BB #8E55BB #BB55B5
triadic
#8E55BB #BB8E55 #55BB8E
tetradic
#8E55BB #BB5B55 #82BB55 #55B5BB
square
#8E55BB #BB5B55 #82BB55 #55B5BB
split-complementary
#8E55BB #B5BB55 #55BB5B
monochromatic
#4F2B6B #6F3C97 #8E55BB #AB81CC #C8ACDE

Accessibility & contrast

On white

5.04
#8E55BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8E55BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E55BB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E55BB#FFFFFF#000000##FFFFFF
##8E55BB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBE
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#876780
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e55bb;
/* rgb */ color: rgb(142, 85, 187);
/* oklch */ color: oklch(55.9% 0.160 307.9);
Tailwind
colors: {
  custom: {
    50: '#b287d0',
    500: '#8e55bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e55bb;
$custom-light: #b287d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e55bb",
  "rgb": {
    "r": 142,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 273.529,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.15968,
    "h": 307.9
  },
  "luminance": 0.15836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E55BB

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

Preview Lab → · Contrast checker → · Palette generator →

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