#8B4CD9#8B4CD9

#8B4CD9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.206 H 300.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8B4CD9
RGBrgb(139, 76, 217)
HSLhsl(267, 65%, 57%)
HSVhsv(267, 65%, 85%)
CMYKcmyk(35.9%, 65%, 0%, 14.9%)
CIE-LABlab(46.54, 54.00, -62.55)
CIE-LCHlch(46.54, 82.63, 310.80°)
OKLaboklab(56.26% 0.1043 -0.178)
OKLCHoklch(56.26% 0.206 300.4)
XYZxyz(25.7532, 15.6674, 67.2995)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CD9 #9AD94C
analogous
#4C53D9 #8B4CD9 #D24CD9
triadic
#8B4CD9 #D98B4C #4CD98B
tetradic
#8B4CD9 #D94C53 #9AD94C #4CD9D2
square
#8B4CD9 #D94C53 #9AD94C #4CD9D2
split-complementary
#8B4CD9 #D9D24C #53D94C
monochromatic
#4F1E8D #6C29BF #8B4CD9 #AC7EE4 #CCB1EE

Accessibility & contrast

On white

5.08
#8B4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8B4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CD9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CD9#FFFFFF#000000##FFFFFF
##8B4CD91.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#7A6C8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4cd9;
/* rgb */ color: rgb(139, 76, 217);
/* oklch */ color: oklch(56.3% 0.206 300.4);
Tailwind
colors: {
  custom: {
    50: '#b282e6',
    500: '#8b4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cd9;
$custom-light: #b282e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cd9",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 266.809,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56262,
    "c": 0.20628,
    "h": 300.4
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#8B4CD9
secondary
#C3DDA4
accent
#E8409D
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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