#8B5DCA#8B5DCA

#8B5DCA is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.7% C 0.164 H 300.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8B5DCA
RGBrgb(139, 93, 202)
HSLhsl(265, 51%, 58%)
HSVhsv(265, 54%, 79%)
CMYKcmyk(31.2%, 54%, 0%, 20.8%)
CIE-LABlab(48.98, 41.19, -50.02)
CIE-LCHlch(48.98, 64.79, 309.47°)
OKLaboklab(57.74% 0.0844 -0.1412)
OKLCHoklch(57.74% 0.164 300.9)
XYZxyz(25.2200, 17.5818, 57.9306)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DCA #9CCA5D
analogous
#5D65CA #8B5DCA #C15DCA
triadic
#8B5DCA #CA8B5D #5DCA8B
tetradic
#8B5DCA #CA5D65 #9CCA5D #5DCAC1
square
#8B5DCA #CA5D65 #9CCA5D #5DCAC1
split-complementary
#8B5DCA #CAC15D #65CA5D
monochromatic
#4F2B82 #6C3AB0 #8B5DCA #AC8BD9 #CDB9E8

Accessibility & contrast

On white

4.65
#8B5DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8B5DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5DCA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DCA#FFFFFF#000000##FFFFFF
##8B5DCA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#7E728B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b5dca;
/* rgb */ color: rgb(139, 93, 202);
/* oklch */ color: oklch(57.7% 0.164 300.9);
Tailwind
colors: {
  custom: {
    50: '#b08cdb',
    500: '#8b5dca',
    950: '#000000',
  },
}
SCSS
$custom: #8b5dca;
$custom-light: #b08cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5dca",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 265.321,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.16449,
    "h": 300.9
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#8B5DCA
secondary
#C5D7AC
accent
#DA4E9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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