#8B5FE8#8B5FE8

#8B5FE8 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.0% C 0.198 H 294.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8B5FE8
RGBrgb(139, 95, 232)
HSLhsl(259, 75%, 64%)
HSVhsv(259, 59%, 91%)
CMYKcmyk(40.1%, 59.1%, 0%, 9%)
CIE-LABlab(51.27, 47.83, -63.40)
CIE-LCHlch(51.27, 79.42, 307.03°)
OKLaboklab(60.02% 0.0821 -0.1805)
OKLCHoklch(60.02% 0.198 294.5)
XYZxyz(29.3013, 19.4989, 78.5482)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FE8 #BCE85F
analogous
#5F78E8 #8B5FE8 #D05FE8
triadic
#8B5FE8 #E88B5F #5FE88B
tetradic
#8B5FE8 #E85F78 #BCE85F #5FE8D0
square
#8B5FE8 #E85F78 #BCE85F #5FE8D0
split-complementary
#8B5FE8 #E8D05F #78E85F
monochromatic
#4B1AB3 #6429E0 #8B5FE8 #B295F0 #D9CAF7

Accessibility & contrast

On white

4.29
#8B5FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8B5FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FE8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FE8#FFFFFF#000000##000000
##8B5FE81.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#1878E5
Tritanopia (blue-blind)
#737D9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b5fe8;
/* rgb */ color: rgb(139, 95, 232);
/* oklch */ color: oklch(60.0% 0.198 294.5);
Tailwind
colors: {
  custom: {
    50: '#b28ef0',
    500: '#8b5fe8',
    950: '#000000',
  },
}
SCSS
$custom: #8b5fe8;
$custom-light: #b28ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5fe8",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 259.27,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60016,
    "c": 0.1983,
    "h": 294.5
  },
  "luminance": 0.195
}

Semantic roles & 50–950 ramp

primary
#8B5FE8
secondary
#DAE9BA
accent
#D70E97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8B5FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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