#8B4EDD#8B4EDD

#8B4EDD is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.208 H 299.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8B4EDD
RGBrgb(139, 78, 221)
HSLhsl(266, 68%, 59%)
HSVhsv(266, 65%, 87%)
CMYKcmyk(37.1%, 64.7%, 0%, 13.3%)
CIE-LABlab(47.18, 53.98, -63.78)
CIE-LCHlch(47.18, 83.56, 310.24°)
OKLaboklab(56.82% 0.1017 -0.1816)
OKLCHoklch(56.82% 0.208 299.3)
XYZxyz(26.4198, 16.1579, 70.1195)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4EDD #A0DD4E
analogous
#4E58DD #8B4EDD #D24EDD
triadic
#8B4EDD #DD8B4E #4EDD8B
tetradic
#8B4EDD #DD4E58 #A0DD4E #4EDDD2
square
#8B4EDD #DD4E58 #A0DD4E #4EDDD2
split-complementary
#8B4EDD #DDD24E #58DD4E
monochromatic
#501C94 #6B26C7 #8B4EDD #AD81E7 #CEB5F1

Accessibility & contrast

On white

4.96
#8B4EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8B4EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4EDD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4EDD#FFFFFF#000000##FFFFFF
##8B4EDD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#786E8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4edd;
/* rgb */ color: rgb(139, 78, 221);
/* oklch */ color: oklch(56.8% 0.208 299.3);
Tailwind
colors: {
  custom: {
    50: '#b283e8',
    500: '#8b4edd',
    950: '#000000',
  },
}
SCSS
$custom: #8b4edd;
$custom-light: #b283e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4edd",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 265.594,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56815,
    "c": 0.20815,
    "h": 299.3
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#8B4EDD
secondary
#C8E0A7
accent
#EB3DA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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