#8B4CD6#8B4CD6

#8B4CD6 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.203 H 301.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8B4CD6
RGBrgb(139, 76, 214)
HSLhsl(267, 63%, 57%)
HSVhsv(267, 64%, 84%)
CMYKcmyk(35%, 64.5%, 0%, 16.1%)
CIE-LABlab(46.33, 53.26, -61.17)
CIE-LCHlch(46.33, 81.10, 311.05°)
OKLaboklab(56.05% 0.1046 -0.1739)
OKLCHoklch(56.05% 0.203 301)
XYZxyz(25.3666, 15.5127, 65.2631)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CD6 #97D64C
analogous
#4C52D6 #8B4CD6 #D04CD6
triadic
#8B4CD6 #D68B4C #4CD68B
tetradic
#8B4CD6 #D64C52 #97D64C #4CD6D0
square
#8B4CD6 #D64C52 #97D64C #4CD6D0
split-complementary
#8B4CD6 #D6D04C #52D64C
monochromatic
#4F1F88 #6C2BBA #8B4CD6 #AB7EE1 #CCB0ED

Accessibility & contrast

On white

5.12
#8B4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8B4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CD6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CD6#FFFFFF#000000##FFFFFF
##8B4CD61.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#0C6DD3
Tritanopia (blue-blind)
#7B6B8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4cd6;
/* rgb */ color: rgb(139, 76, 214);
/* oklch */ color: oklch(56.0% 0.203 301.0);
Tailwind
colors: {
  custom: {
    50: '#b282e3',
    500: '#8b4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cd6;
$custom-light: #b282e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cd6",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 267.391,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56047,
    "c": 0.20294,
    "h": 301
  },
  "luminance": 0.15513
}

Semantic roles & 50–950 ramp

primary
#8B4CD6
secondary
#C1DBA3
accent
#E6429B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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