#8B4CD8#8B4CD8

#8B4CD8 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.205 H 300.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8B4CD8
RGBrgb(139, 76, 216)
HSLhsl(267, 64%, 57%)
HSVhsv(267, 65%, 85%)
CMYKcmyk(35.6%, 64.8%, 0%, 15.3%)
CIE-LABlab(46.47, 53.75, -62.09)
CIE-LCHlch(46.47, 82.12, 310.88°)
OKLaboklab(56.19% 0.1044 -0.1766)
OKLCHoklch(56.19% 0.205 300.6)
XYZxyz(25.6236, 15.6155, 66.6166)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CD8 #99D84C
analogous
#4C53D8 #8B4CD8 #D14CD8
triadic
#8B4CD8 #D88B4C #4CD88B
tetradic
#8B4CD8 #D84C53 #99D84C #4CD8D1
square
#8B4CD8 #D84C53 #99D84C #4CD8D1
split-complementary
#8B4CD8 #D8D14C #53D84C
monochromatic
#4F1E8B #6C29BE #8B4CD8 #AC7EE3 #CCB1EE

Accessibility & contrast

On white

5.09
#8B4CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8B4CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CD8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CD8#FFFFFF#000000##FFFFFF
##8B4CD81.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#026DD5
Tritanopia (blue-blind)
#7A6B8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4cd8;
/* rgb */ color: rgb(139, 76, 216);
/* oklch */ color: oklch(56.2% 0.205 300.6);
Tailwind
colors: {
  custom: {
    50: '#b282e5',
    500: '#8b4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cd8;
$custom-light: #b282e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cd8",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 267,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5619,
    "c": 0.20517,
    "h": 300.6
  },
  "luminance": 0.15616
}

Semantic roles & 50–950 ramp

primary
#8B4CD8
secondary
#C3DCA4
accent
#E7419C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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