#8B4ECA#8B4ECA

#8B4ECA is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.5% C 0.187 H 303.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8B4ECA
RGBrgb(139, 78, 202)
HSLhsl(270, 54%, 55%)
HSVhsv(270, 61%, 79%)
CMYKcmyk(31.2%, 61.4%, 0%, 20.8%)
CIE-LABlab(45.91, 49.31, -54.95)
CIE-LCHlch(45.91, 73.83, 311.90°)
OKLaboklab(55.49% 0.1031 -0.1556)
OKLCHoklch(55.49% 0.187 303.5)
XYZxyz(24.0301, 15.2021, 57.5340)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4ECA #8DCA4E
analogous
#4E4FCA #8B4ECA #C94ECA
triadic
#8B4ECA #CA8B4E #4ECA8B
tetradic
#8B4ECA #CA4E4F #8DCA4E #4ECAC9
square
#8B4ECA #CA4E4F #8DCA4E #4ECAC9
split-complementary
#8B4ECA #CAC94E #4FCA4E
monochromatic
#4E2479 #6C32A8 #8B4ECA #AA7DD8 #C9ACE6

Accessibility & contrast

On white

5.20
#8B4ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8B4ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4ECA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4ECA#FFFFFF#000000##FFFFFF
##8B4ECA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#2D6DC7
Tritanopia (blue-blind)
#7F6885
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4eca;
/* rgb */ color: rgb(139, 78, 202);
/* oklch */ color: oklch(55.5% 0.187 303.5);
Tailwind
colors: {
  custom: {
    50: '#b183db',
    500: '#8b4eca',
    950: '#000000',
  },
}
SCSS
$custom: #8b4eca;
$custom-light: #b183db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4eca",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 269.516,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55491,
    "c": 0.18669,
    "h": 303.5
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#8B4ECA
secondary
#BAD4A0
accent
#DD4B95
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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