#8B5DE2#8B5DE2

#8B5DE2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.194 H 295.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8B5DE2
RGBrgb(139, 93, 226)
HSLhsl(261, 70%, 63%)
HSVhsv(261, 59%, 89%)
CMYKcmyk(38.5%, 58.8%, 0%, 11.4%)
CIE-LABlab(50.46, 47.35, -61.31)
CIE-LCHlch(50.46, 77.47, 307.68°)
OKLaboklab(59.3% 0.0846 -0.1744)
OKLCHoklch(59.3% 0.194 295.9)
XYZxyz(28.2857, 18.8081, 74.0768)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DE2 #B4E25D
analogous
#5D71E2 #8B5DE2 #CE5DE2
triadic
#8B5DE2 #E28B5D #5DE28B
tetradic
#8B5DE2 #E25D71 #B4E25D #5DE2CE
square
#8B5DE2 #E25D71 #B4E25D #5DE2CE
split-complementary
#8B5DE2 #E2CE5D #71E25D
monochromatic
#4D1EA7 #6629D9 #8B5DE2 #B091EB #D5C5F5

Accessibility & contrast

On white

4.41
#8B5DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8B5DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DE2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DE2#FFFFFF#000000##000000
##8B5DE21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#2276DF
Tritanopia (blue-blind)
#767A97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b5de2;
/* rgb */ color: rgb(139, 93, 226);
/* oklch */ color: oklch(59.3% 0.194 295.9);
Tailwind
colors: {
  custom: {
    50: '#b28dec',
    500: '#8b5de2',
    950: '#000000',
  },
}
SCSS
$custom: #8b5de2;
$custom-light: #b28dec;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5de2",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 260.752,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59303,
    "c": 0.1938,
    "h": 295.9
  },
  "luminance": 0.18809
}

Semantic roles & 50–950 ramp

primary
#8B5DE2
secondary
#D5E6B5
accent
#D21490
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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