#8B5DFD#8B5DFD

#8B5DFD is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.226 H 291.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8B5DFD
RGBrgb(139, 93, 253)
HSLhsl(257, 98%, 68%)
HSVhsv(257, 63%, 99%)
CMYKcmyk(45.1%, 63.2%, 0%, 0.8%)
CIE-LABlab(52.30, 54.49, -73.46)
CIE-LCHlch(52.30, 91.46, 306.57°)
OKLaboklab(61.22% 0.0829 -0.2101)
OKLCHoklch(61.22% 0.226 291.5)
XYZxyz(32.2865, 20.4084, 95.1475)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DFD #CFFD5D
analogous
#5D7FFD #8B5DFD #DB5DFD
triadic
#8B5DFD #FD8B5D #5DFD8B
tetradic
#8B5DFD #FD5D7F #CFFD5D #5DFDDB
square
#8B5DFD #FD5D7F #CFFD5D #5DFDDB
split-complementary
#8B5DFD #FDDB5D #7FFD5D
monochromatic
#4103DD #6021FC #8B5DFD #B699FE #E2D6FE

Accessibility & contrast

On white

4.13
#8B5DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8B5DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DFD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DFD#FFFFFF#000000##000000
##8B5DFD1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0079FA
Tritanopia (blue-blind)
#6983A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b5dfd;
/* rgb */ color: rgb(139, 93, 253);
/* oklch */ color: oklch(61.2% 0.226 291.5);
Tailwind
colors: {
  custom: {
    50: '#b58dff',
    500: '#8b5dfd',
    950: '#000000',
  },
}
SCSS
$custom: #8b5dfd;
$custom-light: #b58dff;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5dfd",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 257.25,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.22585,
    "h": 291.5
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

primary
#8B5DFD
secondary
#E5F4C2
accent
#E600A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8B5DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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