#8B4DDD#8B4DDD

#8B4DDD is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.209 H 299.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8B4DDD
RGBrgb(139, 77, 221)
HSLhsl(266, 68%, 58%)
HSVhsv(266, 65%, 87%)
CMYKcmyk(37.1%, 65.2%, 0%, 13.3%)
CIE-LABlab(47.00, 54.48, -64.08)
CIE-LCHlch(47.00, 84.11, 310.37°)
OKLaboklab(56.68% 0.1028 -0.1825)
OKLCHoklch(56.68% 0.209 299.4)
XYZxyz(26.3492, 16.0169, 70.0960)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DDD #9FDD4D
analogous
#4D57DD #8B4DDD #D34DDD
triadic
#8B4DDD #DD8B4D #4DDD8B
tetradic
#8B4DDD #DD4D57 #9FDD4D #4DDDD3
square
#8B4DDD #DD4D57 #9FDD4D #4DDDD3
split-complementary
#8B4DDD #DDD34D #57DD4D
monochromatic
#501C93 #6B26C7 #8B4DDD #AC80E7 #CEB4F1

Accessibility & contrast

On white

5.00
#8B4DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8B4DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4DDD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4DDD#FFFFFF#000000##FFFFFF
##8B4DDD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#786E8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4ddd;
/* rgb */ color: rgb(139, 77, 221);
/* oklch */ color: oklch(56.7% 0.209 299.4);
Tailwind
colors: {
  custom: {
    50: '#b282e8',
    500: '#8b4ddd',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ddd;
$custom-light: #b282e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ddd",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 265.833,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56682,
    "c": 0.20945,
    "h": 299.4
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#8B4DDD
secondary
#C7DFA6
accent
#EB3DA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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