#8B4CD4#8B4CD4

#8B4CD4 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.201 H 301.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8B4CD4
RGBrgb(139, 76, 212)
HSLhsl(268, 61%, 56%)
HSVhsv(268, 64%, 83%)
CMYKcmyk(34.4%, 64.2%, 0%, 16.9%)
CIE-LABlab(46.19, 52.77, -60.24)
CIE-LCHlch(46.19, 80.09, 311.22°)
OKLaboklab(55.91% 0.1048 -0.1712)
OKLCHoklch(55.91% 0.201 301.5)
XYZxyz(25.1127, 15.4112, 63.9262)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CD4 #95D44C
analogous
#4C51D4 #8B4CD4 #CF4CD4
triadic
#8B4CD4 #D48B4C #4CD48B
tetradic
#8B4CD4 #D44C51 #95D44C #4CD4CF
square
#8B4CD4 #D44C51 #95D44C #4CD4CF
split-complementary
#8B4CD4 #D4CF4C #51D44C
monochromatic
#4F2086 #6C2CB7 #8B4CD4 #AB7DE0 #CBAFEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B4CD4#FFFFFF#000000##FFFFFF
##8B4CD41.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)
#006DD8
Deuteranopia (green-blind)
#146DD1
Tritanopia (blue-blind)
#7C6A89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4cd4;
/* rgb */ color: rgb(139, 76, 212);
/* oklch */ color: oklch(55.9% 0.201 301.5);
Tailwind
colors: {
  custom: {
    50: '#b282e2',
    500: '#8b4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cd4;
$custom-light: #b282e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cd4",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 267.794,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55906,
    "c": 0.20071,
    "h": 301.5
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#8B4CD4
secondary
#C0DAA2
accent
#E4439A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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