#8B5DEF#8B5DEF

#8B5DEF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.2% C 0.209 H 293.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8B5DEF
RGBrgb(139, 93, 239)
HSLhsl(259, 82%, 65%)
HSVhsv(259, 61%, 94%)
CMYKcmyk(41.8%, 61.1%, 0%, 6.3%)
CIE-LABlab(51.32, 50.77, -67.23)
CIE-LCHlch(51.32, 84.24, 307.06°)
OKLaboklab(60.21% 0.084 -0.1918)
OKLCHoklch(60.21% 0.209 293.7)
XYZxyz(30.1376, 19.5489, 83.8300)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DEF #C1EF5D
analogous
#5D78EF #8B5DEF #D45DEF
triadic
#8B5DEF #EF8B5D #5DEF8B
tetradic
#8B5DEF #EF5D78 #C1EF5D #5DEFD4
square
#8B5DEF #EF5D78 #C1EF5D #5DEFD4
split-complementary
#8B5DEF #EFD45D #78EF5D
monochromatic
#4913BF #6325E9 #8B5DEF #B395F5 #DBCCFA

Accessibility & contrast

On white

4.28
#8B5DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8B5DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DEF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DEF#FFFFFF#000000##000000
##8B5DEF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#707E9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b5def;
/* rgb */ color: rgb(139, 93, 239);
/* oklch */ color: oklch(60.2% 0.209 293.7);
Tailwind
colors: {
  custom: {
    50: '#b38df5',
    500: '#8b5def',
    950: '#000000',
  },
}
SCSS
$custom: #8b5def;
$custom-light: #b38df5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5def",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 258.904,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60205,
    "c": 0.20937,
    "h": 293.7
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#8B5DEF
secondary
#DDEDBB
accent
#DE079B
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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