#8B5DF7#8B5DF7

#8B5DF7 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.219 H 292.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8B5DF7
RGBrgb(139, 93, 247)
HSLhsl(258, 91%, 67%)
HSVhsv(258, 62%, 97%)
CMYKcmyk(43.7%, 62.3%, 0%, 3.1%)
CIE-LABlab(51.87, 52.89, -70.81)
CIE-LCHlch(51.87, 88.38, 306.76°)
OKLaboklab(60.78% 0.0834 -0.2023)
OKLCHoklch(60.78% 0.219 292.4)
XYZxyz(31.3457, 20.0321, 90.1927)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DF7 #C9F75D
analogous
#5D7CF7 #8B5DF7 #D85DF7
triadic
#8B5DF7 #F78B5D #5DF78B
tetradic
#8B5DF7 #F75D7C #C9F75D #5DF7D8
square
#8B5DF7 #F75D7C #C9F75D #5DF7D8
split-complementary
#8B5DF7 #F7D85D #7CF75D
monochromatic
#450ACF #6123F4 #8B5DF7 #B597FA #DFD2FD

Accessibility & contrast

On white

4.19
#8B5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8B5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DF7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DF7#FFFFFF#000000##000000
##8B5DF71.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#0079F4
Tritanopia (blue-blind)
#6C81A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b5df7;
/* rgb */ color: rgb(139, 93, 247);
/* oklch */ color: oklch(60.8% 0.219 292.4);
Tailwind
colors: {
  custom: {
    50: '#b48dfb',
    500: '#8b5df7',
    950: '#000000',
  },
}
SCSS
$custom: #8b5df7;
$custom-light: #b48dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5df7",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 257.922,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60779,
    "c": 0.21882,
    "h": 292.4
  },
  "luminance": 0.20033
}

Semantic roles & 50–950 ramp

primary
#8B5DF7
secondary
#E2F1BF
accent
#E600A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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