#8B5ADE#8B5ADE

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

Color values

HEX#8B5ADE
RGBrgb(139, 90, 222)
HSLhsl(262, 67%, 61%)
HSVhsv(262, 59%, 87%)
CMYKcmyk(37.4%, 59.5%, 0%, 12.9%)
CIE-LABlab(49.59, 47.94, -60.46)
CIE-LCHlch(49.59, 77.16, 308.41°)
OKLaboklab(58.58% 0.0882 -0.1719)
OKLCHoklch(58.58% 0.193 297.2)
XYZxyz(27.4851, 18.0748, 71.1338)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5ADE #ADDE5A
analogous
#5A6BDE #8B5ADE #CD5ADE
triadic
#8B5ADE #DE8B5A #5ADE8B
tetradic
#8B5ADE #DE5A6B #ADDE5A #5ADECD
square
#8B5ADE #DE5A6B #ADDE5A #5ADECD
split-complementary
#8B5ADE #DECD5A #6BDE5A
monochromatic
#4F209E #682AD1 #8B5ADE #AF8DE8 #D3C0F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B5ADE#FFFFFF#000000##000000
##8B5ADE1.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)
#0076E2
Deuteranopia (green-blind)
#2274DB
Tritanopia (blue-blind)
#777693
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b5ade;
/* rgb */ color: rgb(139, 90, 222);
/* oklch */ color: oklch(58.6% 0.193 297.2);
Tailwind
colors: {
  custom: {
    50: '#b28be9',
    500: '#8b5ade',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ade;
$custom-light: #b28be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ade",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 222
  },
  "hsl": {
    "h": 262.273,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.19318,
    "h": 297.2
  },
  "luminance": 0.18075
}

Semantic roles & 50–950 ramp

primary
#8B5ADE
secondary
#D0E3B1
accent
#CF178A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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