#8B5BDD#8B5BDD

#8B5BDD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.7% C 0.191 H 297.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8B5BDD
RGBrgb(139, 91, 221)
HSLhsl(262, 66%, 61%)
HSVhsv(262, 59%, 87%)
CMYKcmyk(37.1%, 58.8%, 0%, 13.3%)
CIE-LABlab(49.73, 47.14, -59.67)
CIE-LCHlch(49.73, 76.04, 308.31°)
OKLaboklab(58.66% 0.0871 -0.1695)
OKLCHoklch(58.66% 0.191 297.2)
XYZxyz(27.4364, 18.1912, 70.4583)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BDD #ADDD5B
analogous
#5B6CDD #8B5BDD #CC5BDD
triadic
#8B5BDD #DD8B5B #5BDD8B
tetradic
#8B5BDD #DD5B6C #ADDD5B #5BDDCC
square
#8B5BDD #DD5B6C #ADDD5B #5BDDCC
split-complementary
#8B5BDD #DDCC5B #6CDD5B
monochromatic
#4F219D #682BD0 #8B5BDD #AF8EE8 #D3C0F2

Accessibility & contrast

On white

4.53
#8B5BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8B5BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BDD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BDD#FFFFFF#000000##000000
##8B5BDD1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0477E1
Deuteranopia (green-blind)
#2775DA
Tritanopia (blue-blind)
#787793
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b5bdd;
/* rgb */ color: rgb(139, 91, 221);
/* oklch */ color: oklch(58.7% 0.191 297.2);
Tailwind
colors: {
  custom: {
    50: '#b28be8',
    500: '#8b5bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bdd;
$custom-light: #b28be8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bdd",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 262.154,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.19058,
    "h": 297.2
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#8B5BDD
secondary
#D0E2B1
accent
#CE188A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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