#8B5FF1#8B5FF1

#8B5FF1 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.6% C 0.209 H 293.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8B5FF1
RGBrgb(139, 95, 241)
HSLhsl(258, 84%, 66%)
HSVhsv(258, 61%, 95%)
CMYKcmyk(42.3%, 60.6%, 0%, 5.5%)
CIE-LABlab(51.86, 50.22, -67.48)
CIE-LCHlch(51.86, 84.11, 306.66°)
OKLaboklab(60.64% 0.0817 -0.1925)
OKLCHoklch(60.64% 0.209 293)
XYZxyz(30.6125, 20.0234, 85.4540)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FF1 #C5F15F
analogous
#5F7CF1 #8B5FF1 #D45FF1
triadic
#8B5FF1 #F18B5F #5FF18B
tetradic
#8B5FF1 #F15F7C #C5F15F #5FF1D4
square
#8B5FF1 #F15F7C #C5F15F #5FF1D4
split-complementary
#8B5FF1 #F1D45F #7CF15F
monochromatic
#4711C4 #6227EC #8B5FF1 #B497F6 #DDD0FB

Accessibility & contrast

On white

4.20
#8B5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8B5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FF1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FF1#FFFFFF#000000##000000
##8B5FF11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#6F809F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b5ff1;
/* rgb */ color: rgb(139, 95, 241);
/* oklch */ color: oklch(60.6% 0.209 293.0);
Tailwind
colors: {
  custom: {
    50: '#b38ef6',
    500: '#8b5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ff1;
$custom-light: #b38ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ff1",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 258.082,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.20912,
    "h": 293
  },
  "luminance": 0.20024
}

Semantic roles & 50–950 ramp

primary
#8B5FF1
secondary
#DFEEBE
accent
#E0059E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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