#8B5FEF#8B5FEF

#8B5FEF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.5% C 0.207 H 293.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8B5FEF
RGBrgb(139, 95, 239)
HSLhsl(258, 82%, 65%)
HSVhsv(258, 60%, 94%)
CMYKcmyk(41.8%, 60.3%, 0%, 6.3%)
CIE-LABlab(51.73, 49.69, -66.57)
CIE-LCHlch(51.73, 83.07, 306.73°)
OKLaboklab(60.5% 0.0818 -0.1898)
OKLCHoklch(60.5% 0.207 293.3)
XYZxyz(30.3154, 19.9046, 83.8893)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FEF #C3EF5F
analogous
#5F7BEF #8B5FEF #D35FEF
triadic
#8B5FEF #EF8B5F #5FEF8B
tetradic
#8B5FEF #EF5F7B #C3EF5F #5FEFD3
square
#8B5FEF #EF5F7B #C3EF5F #5FEFD3
split-complementary
#8B5FEF #EFD35F #7BEF5F
monochromatic
#4813C0 #6327E9 #8B5FEF #B397F5 #DCCEFA

Accessibility & contrast

On white

4.22
#8B5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8B5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FEF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FEF#FFFFFF#000000##000000
##8B5FEF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b5fef;
/* rgb */ color: rgb(139, 95, 239);
/* oklch */ color: oklch(60.5% 0.207 293.3);
Tailwind
colors: {
  custom: {
    50: '#b38ef5',
    500: '#8b5fef',
    950: '#000000',
  },
}
SCSS
$custom: #8b5fef;
$custom-light: #b38ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5fef",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 258.333,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.20673,
    "h": 293.3
  },
  "luminance": 0.19905
}

Semantic roles & 50–950 ramp

primary
#8B5FEF
secondary
#DEEDBD
accent
#DE079D
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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