#8B5FE1#8B5FE1

#8B5FE1 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.190 H 295.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8B5FE1
RGBrgb(139, 95, 225)
HSLhsl(260, 68%, 63%)
HSVhsv(260, 58%, 88%)
CMYKcmyk(38.2%, 57.8%, 0%, 11.8%)
CIE-LABlab(50.81, 45.99, -60.18)
CIE-LCHlch(50.81, 75.74, 307.39°)
OKLaboklab(59.54% 0.0823 -0.171)
OKLCHoklch(59.54% 0.19 295.7)
XYZxyz(28.3268, 19.1091, 73.4156)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FE1 #B5E15F
analogous
#5F74E1 #8B5FE1 #CC5FE1
triadic
#8B5FE1 #E18B5F #5FE18B
tetradic
#8B5FE1 #E15F74 #B5E15F #5FE1CC
square
#8B5FE1 #E15F74 #B5E15F #5FE1CC
split-complementary
#8B5FE1 #E1CC5F #74E15F
monochromatic
#4D1FA6 #662BD7 #8B5FE1 #B093EB #D6C6F4

Accessibility & contrast

On white

4.36
#8B5FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8B5FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FE1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FE1#FFFFFF#000000##000000
##8B5FE11.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#117AE5
Deuteranopia (green-blind)
#2877DE
Tritanopia (blue-blind)
#767B97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5fe1;
/* rgb */ color: rgb(139, 95, 225);
/* oklch */ color: oklch(59.5% 0.190 295.7);
Tailwind
colors: {
  custom: {
    50: '#b28eeb',
    500: '#8b5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #8b5fe1;
$custom-light: #b28eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5fe1",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 260.308,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.1898,
    "h": 295.7
  },
  "luminance": 0.1911
}

Semantic roles & 50–950 ramp

primary
#8B5FE1
secondary
#D5E5B6
accent
#D01591
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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