#8E4CCF#8E4CCF

#8E4CCF is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.9% C 0.196 H 303.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8E4CCF
RGBrgb(142, 76, 207)
HSLhsl(270, 58%, 55%)
HSVhsv(270, 63%, 81%)
CMYKcmyk(31.4%, 63.3%, 0%, 18.8%)
CIE-LABlab(46.21, 52.21, -57.33)
CIE-LCHlch(46.21, 77.54, 312.33°)
OKLaboklab(55.89% 0.1091 -0.1625)
OKLCHoklch(55.89% 0.196 303.9)
XYZxyz(24.9997, 15.4247, 60.6796)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CCF #8DCF4C
analogous
#4C4CCF #8E4CCF #CF4CCE
triadic
#8E4CCF #CF8E4C #4CCF8E
tetradic
#8E4CCF #CF4C4C #8DCF4C #4CCECF
square
#8E4CCF #CF4C4C #8DCF4C #4CCECF
split-complementary
#8E4CCF #CECF4C #4CCF4C
monochromatic
#51227F #6F2FAF #8E4CCF #AC7CDC #CBADE9

Accessibility & contrast

On white

5.14
#8E4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8E4CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4CCF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4CCF#FFFFFF#000000##FFFFFF
##8E4CCF1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#266DCC
Tritanopia (blue-blind)
#826887
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e4ccf;
/* rgb */ color: rgb(142, 76, 207);
/* oklch */ color: oklch(55.9% 0.196 303.9);
Tailwind
colors: {
  custom: {
    50: '#b382de',
    500: '#8e4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ccf;
$custom-light: #b382de;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ccf",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 270.229,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.19576,
    "h": 303.9
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#8E4CCF
secondary
#BBD7A0
accent
#E14793
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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