#8B4CD2#8B4CD2

#8B4CD2 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.8% C 0.198 H 301.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8B4CD2
RGBrgb(139, 76, 210)
HSLhsl(268, 60%, 56%)
HSVhsv(268, 64%, 82%)
CMYKcmyk(33.8%, 63.8%, 0%, 17.6%)
CIE-LABlab(46.06, 52.28, -59.31)
CIE-LCHlch(46.06, 79.07, 311.39°)
OKLaboklab(55.77% 0.1049 -0.1685)
OKLCHoklch(55.77% 0.198 301.9)
XYZxyz(24.8620, 15.3109, 62.6058)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CD2 #93D24C
analogous
#4C50D2 #8B4CD2 #CE4CD2
triadic
#8B4CD2 #D28B4C #4CD28B
tetradic
#8B4CD2 #D24C50 #93D24C #4CD2CE
square
#8B4CD2 #D24C50 #93D24C #4CD2CE
split-complementary
#8B4CD2 #D2CE4C #50D24C
monochromatic
#4F2183 #6C2DB4 #8B4CD2 #AB7DDE #CAAEEB

Accessibility & contrast

On white

5.17
#8B4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8B4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CD2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CD2#FFFFFF#000000##FFFFFF
##8B4CD21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#1A6DCF
Tritanopia (blue-blind)
#7D6988
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4cd2;
/* rgb */ color: rgb(139, 76, 210);
/* oklch */ color: oklch(55.8% 0.198 301.9);
Tailwind
colors: {
  custom: {
    50: '#b282e1',
    500: '#8b4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cd2;
$custom-light: #b282e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cd2",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 268.209,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55765,
    "c": 0.19848,
    "h": 301.9
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#8B4CD2
secondary
#BFD9A1
accent
#E34599
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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