#8B5CDD#8B5CDD

#8B5CDD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.189 H 297.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8B5CDD
RGBrgb(139, 92, 221)
HSLhsl(262, 65%, 61%)
HSVhsv(262, 58%, 87%)
CMYKcmyk(37.1%, 58.4%, 0%, 13.3%)
CIE-LABlab(49.93, 46.59, -59.33)
CIE-LCHlch(49.93, 75.44, 308.14°)
OKLaboklab(58.81% 0.0859 -0.1686)
OKLCHoklch(58.81% 0.189 297)
XYZxyz(27.5224, 18.3633, 70.4870)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CDD #AEDD5C
analogous
#5C6EDD #8B5CDD #CB5CDD
triadic
#8B5CDD #DD8B5C #5CDD8B
tetradic
#8B5CDD #DD5C6E #AEDD5C #5CDDCB
square
#8B5CDD #DD5C6E #AEDD5C #5CDDCB
split-complementary
#8B5CDD #DDCB5C #6EDD5C
monochromatic
#4E219E #682BD0 #8B5CDD #AF8FE8 #D3C1F2

Accessibility & contrast

On white

4.49
#8B5CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#8B5CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5CDD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CDD#FFFFFF#000000##000000
##8B5CDD1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C77E1
Deuteranopia (green-blind)
#2975DA
Tritanopia (blue-blind)
#787794
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b5cdd;
/* rgb */ color: rgb(139, 92, 221);
/* oklch */ color: oklch(58.8% 0.189 297.0);
Tailwind
colors: {
  custom: {
    50: '#b28ce8',
    500: '#8b5cdd',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cdd;
$custom-light: #b28ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cdd",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 261.86,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.18917,
    "h": 297
  },
  "luminance": 0.18364
}

Semantic roles & 50–950 ramp

primary
#8B5CDD
secondary
#D1E3B2
accent
#CD188B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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