#8E5CDC#8E5CDC

#8E5CDC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.188 H 298.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8E5CDC
RGBrgb(142, 92, 220)
HSLhsl(263, 65%, 61%)
HSVhsv(263, 58%, 86%)
CMYKcmyk(35.5%, 58.2%, 0%, 13.7%)
CIE-LABlab(50.18, 47.02, -58.35)
CIE-LCHlch(50.18, 74.94, 308.86°)
OKLaboklab(59.05% 0.0898 -0.1656)
OKLCHoklch(59.05% 0.188 298.5)
XYZxyz(27.8975, 18.5721, 69.8113)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CDC #AADC5C
analogous
#5C6ADC #8E5CDC #CE5CDC
triadic
#8E5CDC #DC8E5C #5CDC8E
tetradic
#8E5CDC #DC5C6A #AADC5C #5CDCCE
square
#8E5CDC #DC5C6A #AADC5C #5CDCCE
split-complementary
#8E5CDC #DCCE5C #6ADC5C
monochromatic
#51229C #6C2CCE #8E5CDC #B18EE7 #D4C1F2

Accessibility & contrast

On white

4.45
#8E5CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8E5CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CDC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CDC#FFFFFF#000000##000000
##8E5CDC1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1477E0
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#7D7793
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e5cdc;
/* rgb */ color: rgb(142, 92, 220);
/* oklch */ color: oklch(59.0% 0.188 298.5);
Tailwind
colors: {
  custom: {
    50: '#b48ce8',
    500: '#8e5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #8e5cdc;
$custom-light: #b48ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5cdc",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 263.438,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59048,
    "c": 0.18835,
    "h": 298.5
  },
  "luminance": 0.18572
}

Semantic roles & 50–950 ramp

primary
#8E5CDC
secondary
#CFE2B2
accent
#CC1986
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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