#8D4ECB#8D4ECB

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

Color values

HEX#8D4ECB
RGBrgb(141, 78, 203)
HSLhsl(270, 55%, 55%)
HSVhsv(270, 62%, 80%)
CMYKcmyk(30.5%, 61.6%, 0%, 20.4%)
CIE-LABlab(46.21, 50.01, -55.03)
CIE-LCHlch(46.21, 74.36, 312.26°)
OKLaboklab(55.78% 0.1057 -0.1558)
OKLCHoklch(55.78% 0.188 304.1)
XYZxyz(24.4860, 15.4234, 58.1754)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ECB #8CCB4E
analogous
#4F4ECB #8D4ECB #CB4ECA
triadic
#8D4ECB #CB8D4E #4ECB8D
tetradic
#8D4ECB #CB4F4E #8CCB4E #4ECACB
square
#8D4ECB #CB4F4E #8CCB4E #4ECACB
split-complementary
#8D4ECB #CACB4E #4ECB4F
monochromatic
#50247B #6E32AA #8D4ECB #AB7DD9 #CAADE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D4ECB#FFFFFF#000000##FFFFFF
##8D4ECB1.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)
#006CCF
Deuteranopia (green-blind)
#2E6DC8
Tritanopia (blue-blind)
#826885
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4ecb;
/* rgb */ color: rgb(141, 78, 203);
/* oklch */ color: oklch(55.8% 0.188 304.1);
Tailwind
colors: {
  custom: {
    50: '#b283db',
    500: '#8d4ecb',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ecb;
$custom-light: #b283db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ecb",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 270.24,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.18829,
    "h": 304.1
  },
  "luminance": 0.15423
}

Semantic roles & 50–950 ramp

primary
#8D4ECB
secondary
#BAD5A0
accent
#DE4A93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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