#8B5DF2#8B5DF2

#8B5DF2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.213 H 293.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B5DF2
RGBrgb(139, 93, 242)
HSLhsl(259, 85%, 66%)
HSVhsv(259, 62%, 95%)
CMYKcmyk(42.6%, 61.6%, 0%, 5.1%)
CIE-LABlab(51.53, 51.56, -68.58)
CIE-LCHlch(51.53, 85.80, 306.94°)
OKLaboklab(60.42% 0.0838 -0.1957)
OKLCHoklch(60.42% 0.213 293.2)
XYZxyz(30.5845, 19.7276, 86.1836)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DF2 #C4F25D
analogous
#5D7AF2 #8B5DF2 #D55DF2
triadic
#8B5DF2 #F28B5D #5DF28B
tetradic
#8B5DF2 #F25D7A #C4F25D #5DF2D5
square
#8B5DF2 #F25D7A #C4F25D #5DF2D5
split-complementary
#8B5DF2 #F2D55D #7AF25D
monochromatic
#4810C5 #6224ED #8B5DF2 #B496F7 #DCCEFB

Accessibility & contrast

On white

4.25
#8B5DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8B5DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DF2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DF2#FFFFFF#000000##000000
##8B5DF21.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#6E7F9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b5df2;
/* rgb */ color: rgb(139, 93, 242);
/* oklch */ color: oklch(60.4% 0.213 293.2);
Tailwind
colors: {
  custom: {
    50: '#b48df7',
    500: '#8b5df2',
    950: '#000000',
  },
}
SCSS
$custom: #8b5df2;
$custom-light: #b48df7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5df2",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 258.523,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60419,
    "c": 0.21292,
    "h": 293.2
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#8B5DF2
secondary
#DFEEBD
accent
#E2049D
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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