#8B5BDB#8B5BDB

#8B5BDB is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.5% C 0.188 H 297.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8B5BDB
RGBrgb(139, 91, 219)
HSLhsl(263, 64%, 61%)
HSVhsv(263, 58%, 86%)
CMYKcmyk(36.5%, 58.4%, 0%, 14.1%)
CIE-LABlab(49.60, 46.62, -58.74)
CIE-LCHlch(49.60, 74.99, 308.44°)
OKLaboklab(58.53% 0.0871 -0.1668)
OKLCHoklch(58.53% 0.188 297.6)
XYZxyz(27.1715, 18.0852, 69.0634)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BDB #ABDB5B
analogous
#5B6BDB #8B5BDB #CB5BDB
triadic
#8B5BDB #DB8B5B #5BDB8B
tetradic
#8B5BDB #DB5B6B #ABDB5B #5BDBCB
square
#8B5BDB #DB5B6B #ABDB5B #5BDBCB
split-complementary
#8B5BDB #DBCB5B #6BDB5B
monochromatic
#4F229A #682DCC #8B5BDB #AE8DE6 #D2BFF1

Accessibility & contrast

On white

4.55
#8B5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8B5BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BDB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BDB#FFFFFF#000000##000000
##8B5BDB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E76DF
Deuteranopia (green-blind)
#2A74D8
Tritanopia (blue-blind)
#787692
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b5bdb;
/* rgb */ color: rgb(139, 91, 219);
/* oklch */ color: oklch(58.5% 0.188 297.6);
Tailwind
colors: {
  custom: {
    50: '#b28be7',
    500: '#8b5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bdb;
$custom-light: #b28be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bdb",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 262.5,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58529,
    "c": 0.18818,
    "h": 297.6
  },
  "luminance": 0.18086
}

Semantic roles & 50–950 ramp

primary
#8B5BDB
secondary
#CFE1B1
accent
#CC1A89
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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