#8E4BCF#8E4BCF

#8E4BCF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.8% C 0.197 H 304.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8E4BCF
RGBrgb(142, 75, 207)
HSLhsl(270, 58%, 55%)
HSVhsv(270, 64%, 81%)
CMYKcmyk(31.4%, 63.8%, 0%, 18.8%)
CIE-LABlab(46.03, 52.71, -57.62)
CIE-LCHlch(46.03, 78.10, 312.45°)
OKLaboklab(55.76% 0.1103 -0.1634)
OKLCHoklch(55.76% 0.197 304)
XYZxyz(24.9313, 15.2880, 60.6568)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BCF #8CCF4B
analogous
#4C4BCF #8E4BCF #CF4BCE
triadic
#8E4BCF #CF8E4B #4BCF8E
tetradic
#8E4BCF #CF4C4B #8CCF4B #4BCECF
square
#8E4BCF #CF4C4B #8CCF4B #4BCECF
split-complementary
#8E4BCF #CECF4B #4BCF4C
monochromatic
#51227E #6F2EAE #8E4BCF #AC7BDC #CBACE9

Accessibility & contrast

On white

5.18
#8E4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8E4BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BCF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BCF#FFFFFF#000000##FFFFFF
##8E4BCF1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#246DCC
Tritanopia (blue-blind)
#826786
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e4bcf;
/* rgb */ color: rgb(142, 75, 207);
/* oklch */ color: oklch(55.8% 0.197 304.0);
Tailwind
colors: {
  custom: {
    50: '#b381de',
    500: '#8e4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bcf;
$custom-light: #b381de;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bcf",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 270.455,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55758,
    "c": 0.19713,
    "h": 304
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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