#8B5BDF#8B5BDF

#8B5BDF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.193 H 296.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8B5BDF
RGBrgb(139, 91, 223)
HSLhsl(262, 67%, 62%)
HSVhsv(262, 59%, 87%)
CMYKcmyk(37.7%, 59.2%, 0%, 12.5%)
CIE-LABlab(49.86, 47.66, -60.59)
CIE-LCHlch(49.86, 77.09, 308.18°)
OKLaboklab(58.8% 0.087 -0.1723)
OKLCHoklch(58.8% 0.193 296.8)
XYZxyz(27.7044, 18.2984, 71.8700)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BDF #AFDF5B
analogous
#5B6DDF #8B5BDF #CD5BDF
triadic
#8B5BDF #DF8B5B #5BDF8B
tetradic
#8B5BDF #DF5B6D #AFDF5B #5BDFCD
square
#8B5BDF #DF5B6D #AFDF5B #5BDFCD
split-complementary
#8B5BDF #DFCD5B #6DDF5B
monochromatic
#4E1FA0 #6729D4 #8B5BDF #AF8EE9 #D3C1F3

Accessibility & contrast

On white

4.51
#8B5BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8B5BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BDF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BDF#FFFFFF#000000##000000
##8B5BDF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#2375DC
Tritanopia (blue-blind)
#777794
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b5bdf;
/* rgb */ color: rgb(139, 91, 223);
/* oklch */ color: oklch(58.8% 0.193 296.8);
Tailwind
colors: {
  custom: {
    50: '#b28bea',
    500: '#8b5bdf',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bdf;
$custom-light: #b28bea;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bdf",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 261.818,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58799,
    "c": 0.19298,
    "h": 296.8
  },
  "luminance": 0.18299
}

Semantic roles & 50–950 ramp

primary
#8B5BDF
secondary
#D2E3B2
accent
#CF168C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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