#8B5EF0#8B5EF0

#8B5EF0 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.4% C 0.209 H 293.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8B5EF0
RGBrgb(139, 94, 240)
HSLhsl(258, 83%, 65%)
HSVhsv(258, 61%, 94%)
CMYKcmyk(42.1%, 60.8%, 0%, 5.9%)
CIE-LABlab(51.59, 50.49, -67.35)
CIE-LCHlch(51.59, 84.18, 306.86°)
OKLaboklab(60.42% 0.0829 -0.1921)
OKLCHoklch(60.42% 0.209 293.3)
XYZxyz(30.3741, 19.7848, 84.6397)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EF0 #C3F05E
analogous
#5E7AF0 #8B5EF0 #D45EF0
triadic
#8B5EF0 #F08B5E #5EF08B
tetradic
#8B5EF0 #F05E7A #C3F05E #5EF0D4
square
#8B5EF0 #F05E7A #C3F05E #5EF0D4
split-complementary
#8B5EF0 #F0D45E #7AF05E
monochromatic
#4812C2 #6326EB #8B5EF0 #B396F5 #DCCEFA

Accessibility & contrast

On white

4.24
#8B5EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8B5EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5EF0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EF0#FFFFFF#000000##000000
##8B5EF01.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#6F7F9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b5ef0;
/* rgb */ color: rgb(139, 94, 240);
/* oklch */ color: oklch(60.4% 0.209 293.3);
Tailwind
colors: {
  custom: {
    50: '#b38ef6',
    500: '#8b5ef0',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ef0;
$custom-light: #b38ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ef0",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 258.493,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60423,
    "c": 0.20925,
    "h": 293.3
  },
  "luminance": 0.19786
}

Semantic roles & 50–950 ramp

primary
#8B5EF0
secondary
#DEEDBC
accent
#DF069C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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