#8B5FED#8B5FED

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

Color values

HEX#8B5FED
RGBrgb(139, 95, 237)
HSLhsl(259, 80%, 65%)
HSVhsv(259, 60%, 93%)
CMYKcmyk(41.4%, 59.9%, 0%, 7.1%)
CIE-LABlab(51.60, 49.15, -65.67)
CIE-LCHlch(51.60, 82.03, 306.81°)
OKLaboklab(60.36% 0.0819 -0.1872)
OKLCHoklch(60.36% 0.204 293.6)
XYZxyz(30.0216, 19.7870, 82.3419)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FED #C1ED5F
analogous
#5F7AED #8B5FED #D25FED
triadic
#8B5FED #ED8B5F #5FED8B
tetradic
#8B5FED #ED5F7A #C1ED5F #5FEDD2
square
#8B5FED #ED5F7A #C1ED5F #5FEDD2
split-complementary
#8B5FED #EDD25F #7AED5F
monochromatic
#4915BC #6328E7 #8B5FED #B396F3 #DBCDF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B5FED#FFFFFF#000000##000000
##8B5FED1.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)
#007DF2
Deuteranopia (green-blind)
#0178EA
Tritanopia (blue-blind)
#717F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b5fed;
/* rgb */ color: rgb(139, 95, 237);
/* oklch */ color: oklch(60.4% 0.204 293.6);
Tailwind
colors: {
  custom: {
    50: '#b38ef4',
    500: '#8b5fed',
    950: '#000000',
  },
}
SCSS
$custom: #8b5fed;
$custom-light: #b38ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5fed",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 258.592,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60361,
    "c": 0.20433,
    "h": 293.6
  },
  "luminance": 0.19788
}

Semantic roles & 50–950 ramp

primary
#8B5FED
secondary
#DDECBC
accent
#DC099B
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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