#8B4DC8#8B4DC8

#8B4DC8 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.186 H 304.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8B4DC8
RGBrgb(139, 77, 200)
HSLhsl(270, 53%, 54%)
HSVhsv(270, 62%, 78%)
CMYKcmyk(30.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(45.59, 49.35, -54.31)
CIE-LCHlch(45.59, 73.38, 312.26°)
OKLaboklab(55.22% 0.1044 -0.1538)
OKLCHoklch(55.22% 0.186 304.2)
XYZxyz(23.7243, 14.9669, 56.2714)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DC8 #8AC84D
analogous
#4E4DC8 #8B4DC8 #C84DC8
triadic
#8B4DC8 #C88B4D #4DC88B
tetradic
#8B4DC8 #C84E4D #8AC84D #4DC8C8
square
#8B4DC8 #C84E4D #8AC84D #4DC8C8
split-complementary
#8B4DC8 #C8C84D #4DC84E
monochromatic
#4E2476 #6C33A5 #8B4DC8 #A97CD6 #C8ABE5

Accessibility & contrast

On white

5.26
#8B4DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8B4DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4DC8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4DC8#FFFFFF#000000##FFFFFF
##8B4DC81.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#2E6CC5
Tritanopia (blue-blind)
#806683
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b4dc8;
/* rgb */ color: rgb(139, 77, 200);
/* oklch */ color: oklch(55.2% 0.186 304.2);
Tailwind
colors: {
  custom: {
    50: '#b182d9',
    500: '#8b4dc8',
    950: '#000000',
  },
}
SCSS
$custom: #8b4dc8;
$custom-light: #b182d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4dc8",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 270.244,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.18584,
    "h": 304.2
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#8B4DC8
secondary
#B8D29E
accent
#DC4C93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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