#8B4EDE#8B4EDE

#8B4EDE is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.209 H 299.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B4EDE
RGBrgb(139, 78, 222)
HSLhsl(265, 69%, 59%)
HSVhsv(265, 65%, 87%)
CMYKcmyk(37.4%, 64.9%, 0%, 12.9%)
CIE-LABlab(47.25, 54.23, -64.24)
CIE-LCHlch(47.25, 84.07, 310.17°)
OKLaboklab(56.89% 0.1016 -0.1829)
OKLCHoklch(56.89% 0.209 299.1)
XYZxyz(26.5534, 16.2114, 70.8232)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4EDE #A1DE4E
analogous
#4E59DE #8B4EDE #D34EDE
triadic
#8B4EDE #DE8B4E #4EDE8B
tetradic
#8B4EDE #DE4E59 #A1DE4E #4EDED3
square
#8B4EDE #DE4E59 #A1DE4E #4EDED3
split-complementary
#8B4EDE #DED34E #59DE4E
monochromatic
#4F1C96 #6B26C9 #8B4EDE #AD82E8 #CFB5F1

Accessibility & contrast

On white

4.95
#8B4EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8B4EDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4EDE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4EDE#FFFFFF#000000##FFFFFF
##8B4EDE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#786F8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4ede;
/* rgb */ color: rgb(139, 78, 222);
/* oklch */ color: oklch(56.9% 0.209 299.1);
Tailwind
colors: {
  custom: {
    50: '#b383e9',
    500: '#8b4ede',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ede;
$custom-light: #b383e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ede",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 265.417,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.20927,
    "h": 299.1
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#8B4EDE
secondary
#C8E0A8
accent
#EB3CA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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