#8B5DD5#8B5DD5

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

Color values

HEX#8B5DD5
RGBrgb(139, 93, 213)
HSLhsl(263, 59%, 60%)
HSVhsv(263, 56%, 84%)
CMYKcmyk(34.7%, 56.3%, 0%, 16.5%)
CIE-LABlab(49.64, 43.98, -55.26)
CIE-LCHlch(49.64, 70.62, 308.52°)
OKLaboklab(58.44% 0.0847 -0.1566)
OKLCHoklch(58.44% 0.178 298.4)
XYZxyz(26.5691, 18.1215, 65.0359)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DD5 #A7D55D
analogous
#5D6BD5 #8B5DD5 #C75DD5
triadic
#8B5DD5 #D58B5D #5DD58B
tetradic
#8B5DD5 #D55D6B #A7D55D #5DD5C7
square
#8B5DD5 #D55D6B #A7D55D #5DD5C7
split-complementary
#8B5DD5 #D5C75D #6BD55D
monochromatic
#4F2692 #6A32C2 #8B5DD5 #AE8EE2 #D1BEEE

Accessibility & contrast

On white

4.54
#8B5DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B5DD5#FFFFFF#000000##000000
##8B5DD51.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2576D9
Deuteranopia (green-blind)
#3675D2
Tritanopia (blue-blind)
#7B7690
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b5dd5;
/* rgb */ color: rgb(139, 93, 213);
/* oklch */ color: oklch(58.4% 0.178 298.4);
Tailwind
colors: {
  custom: {
    50: '#b18ce3',
    500: '#8b5dd5',
    950: '#000000',
  },
}
SCSS
$custom: #8b5dd5;
$custom-light: #b18ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5dd5",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 263,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.58441,
    "c": 0.17802,
    "h": 298.4
  },
  "luminance": 0.18122
}

Semantic roles & 50–950 ramp

primary
#8B5DD5
secondary
#CCDEB0
accent
#E246A6
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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