#8B5FEE#8B5FEE

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

Color values

HEX#8B5FEE
RGBrgb(139, 95, 238)
HSLhsl(258, 81%, 65%)
HSVhsv(258, 60%, 93%)
CMYKcmyk(41.6%, 60.1%, 0%, 6.7%)
CIE-LABlab(51.66, 49.42, -66.12)
CIE-LCHlch(51.66, 82.55, 306.77°)
OKLaboklab(60.43% 0.0819 -0.1885)
OKLCHoklch(60.43% 0.206 293.5)
XYZxyz(30.1681, 19.8456, 83.1134)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FEE #C2EE5F
analogous
#5F7AEE #8B5FEE #D35FEE
triadic
#8B5FEE #EE8B5F #5FEE8B
tetradic
#8B5FEE #EE5F7A #C2EE5F #5FEED3
square
#8B5FEE #EE5F7A #C2EE5F #5FEED3
split-complementary
#8B5FEE #EED35F #7AEE5F
monochromatic
#4914BE #6328E8 #8B5FEE #B396F4 #DBCEFA

Accessibility & contrast

On white

4.23
#8B5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8B5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FEE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FEE#FFFFFF#000000##000000
##8B5FEE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#0079EB
Tritanopia (blue-blind)
#707F9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b5fee;
/* rgb */ color: rgb(139, 95, 238);
/* oklch */ color: oklch(60.4% 0.206 293.5);
Tailwind
colors: {
  custom: {
    50: '#b38ef4',
    500: '#8b5fee',
    950: '#000000',
  },
}
SCSS
$custom: #8b5fee;
$custom-light: #b38ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5fee",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 258.462,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60431,
    "c": 0.20553,
    "h": 293.5
  },
  "luminance": 0.19846
}

Semantic roles & 50–950 ramp

primary
#8B5FEE
secondary
#DEECBC
accent
#DD089C
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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