#8B5DF4#8B5DF4

#8B5DF4 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.215 H 292.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8B5DF4
RGBrgb(139, 93, 244)
HSLhsl(258, 87%, 66%)
HSVhsv(258, 62%, 96%)
CMYKcmyk(43%, 61.9%, 0%, 4.3%)
CIE-LABlab(51.67, 52.09, -69.47)
CIE-LCHlch(51.67, 86.83, 306.86°)
OKLaboklab(60.56% 0.0837 -0.1984)
OKLCHoklch(60.56% 0.215 292.9)
XYZxyz(30.8865, 19.8484, 87.7742)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DF4 #C6F45D
analogous
#5D7AF4 #8B5DF4 #D65DF4
triadic
#8B5DF4 #F48B5D #5DF48B
tetradic
#8B5DF4 #F45D7A #C6F45D #5DF4D6
square
#8B5DF4 #F45D7A #C6F45D #5DF4D6
split-complementary
#8B5DF4 #F4D65D #7AF45D
monochromatic
#470EC9 #6224F0 #8B5DF4 #B496F8 #DDD0FC

Accessibility & contrast

On white

4.23
#8B5DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8B5DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DF4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DF4#FFFFFF#000000##000000
##8B5DF41.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0078F1
Tritanopia (blue-blind)
#6D80A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b5df4;
/* rgb */ color: rgb(139, 93, 244);
/* oklch */ color: oklch(60.6% 0.215 292.9);
Tailwind
colors: {
  custom: {
    50: '#b48df9',
    500: '#8b5df4',
    950: '#000000',
  },
}
SCSS
$custom: #8b5df4;
$custom-light: #b48df9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5df4",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 258.278,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.21529,
    "h": 292.9
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#8B5DF4
secondary
#E0EFBE
accent
#E4029F
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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