#8B5BED#8B5BED

#8B5BED is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.210 H 294.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8B5BED
RGBrgb(139, 91, 237)
HSLhsl(260, 80%, 64%)
HSVhsv(260, 62%, 93%)
CMYKcmyk(41.4%, 61.6%, 0%, 7.1%)
CIE-LABlab(50.79, 51.31, -66.98)
CIE-LCHlch(50.79, 84.37, 307.45°)
OKLaboklab(59.77% 0.0863 -0.191)
OKLCHoklch(59.77% 0.21 294.3)
XYZxyz(29.6705, 19.0848, 82.2248)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BED #BDED5B
analogous
#5B74ED #8B5BED #D45BED
triadic
#8B5BED #ED8B5B #5BED8B
tetradic
#8B5BED #ED5B74 #BDED5B #5BEDD4
square
#8B5BED #ED5B74 #BDED5B #5BEDD4
split-complementary
#8B5BED #EDD45B #74ED5B
monochromatic
#4B14B9 #6424E7 #8B5BED #B292F3 #D9C9F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B5BED#FFFFFF#000000##000000
##8B5BED1.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)
#007AF2
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#717C9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5bed;
/* rgb */ color: rgb(139, 91, 237);
/* oklch */ color: oklch(59.8% 0.210 294.3);
Tailwind
colors: {
  custom: {
    50: '#b38cf4',
    500: '#8b5bed',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bed;
$custom-light: #b38cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bed",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 259.726,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59772,
    "c": 0.20963,
    "h": 294.3
  },
  "luminance": 0.19086
}

Semantic roles & 50–950 ramp

primary
#8B5BED
secondary
#DBEBB9
accent
#DD0997
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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