#8B5FE3#8B5FE3

#8B5FE3 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.192 H 295.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8B5FE3
RGBrgb(139, 95, 227)
HSLhsl(260, 70%, 63%)
HSVhsv(260, 58%, 89%)
CMYKcmyk(38.8%, 58.1%, 0%, 11%)
CIE-LABlab(50.94, 46.51, -61.10)
CIE-LCHlch(50.94, 76.79, 307.28°)
OKLaboklab(59.68% 0.0823 -0.1738)
OKLCHoklch(59.68% 0.192 295.3)
XYZxyz(28.6012, 19.2189, 74.8609)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FE3 #B7E35F
analogous
#5F75E3 #8B5FE3 #CD5FE3
triadic
#8B5FE3 #E38B5F #5FE38B
tetradic
#8B5FE3 #E35F75 #B7E35F #5FE3CD
square
#8B5FE3 #E35F75 #B7E35F #5FE3CD
split-complementary
#8B5FE3 #E3CD5F #75E35F
monochromatic
#4C1EAA #652BDA #8B5FE3 #B193EC #D7C7F5

Accessibility & contrast

On white

4.34
#8B5FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8B5FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FE3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FE3#FFFFFF#000000##000000
##8B5FE31.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#087AE7
Deuteranopia (green-blind)
#2577E0
Tritanopia (blue-blind)
#757B98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5fe3;
/* rgb */ color: rgb(139, 95, 227);
/* oklch */ color: oklch(59.7% 0.192 295.3);
Tailwind
colors: {
  custom: {
    50: '#b28eed',
    500: '#8b5fe3',
    950: '#000000',
  },
}
SCSS
$custom: #8b5fe3;
$custom-light: #b28eed;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5fe3",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 260,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.19224,
    "h": 295.3
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#8B5FE3
secondary
#D7E7B7
accent
#D21393
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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