#8B5DF9#8B5DF9

#8B5DF9 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.221 H 292.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8B5DF9
RGBrgb(139, 93, 249)
HSLhsl(258, 93%, 67%)
HSVhsv(258, 63%, 98%)
CMYKcmyk(44.2%, 62.7%, 0%, 2.4%)
CIE-LABlab(52.01, 53.42, -71.69)
CIE-LCHlch(52.01, 89.41, 306.69°)
OKLaboklab(60.93% 0.0833 -0.2049)
OKLCHoklch(60.93% 0.221 292.1)
XYZxyz(31.6560, 20.1562, 91.8268)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DF9 #CBF95D
analogous
#5D7DF9 #8B5DF9 #D95DF9
triadic
#8B5DF9 #F98B5D #5DF98B
tetradic
#8B5DF9 #F95D7D #CBF95D #5DF9D9
square
#8B5DF9 #F95D7D #CBF95D #5DF9D9
split-complementary
#8B5DF9 #F9D95D #7DF95D
monochromatic
#4408D4 #6122F7 #8B5DF9 #B598FB #E0D3FD

Accessibility & contrast

On white

4.17
#8B5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8B5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DF9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DF9#FFFFFF#000000##000000
##8B5DF91.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFE
Deuteranopia (green-blind)
#0079F6
Tritanopia (blue-blind)
#6B82A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b5df9;
/* rgb */ color: rgb(139, 93, 249);
/* oklch */ color: oklch(60.9% 0.221 292.1);
Tailwind
colors: {
  custom: {
    50: '#b48dfc',
    500: '#8b5df9',
    950: '#000000',
  },
}
SCSS
$custom: #8b5df9;
$custom-light: #b48dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5df9",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 257.692,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60925,
    "c": 0.22117,
    "h": 292.1
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#8B5DF9
secondary
#E3F2C0
accent
#E600A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8B5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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