#8B5DD4#8B5DD4

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

Color values

HEX#8B5DD4
RGBrgb(139, 93, 212)
HSLhsl(263, 58%, 60%)
HSVhsv(263, 56%, 83%)
CMYKcmyk(34.4%, 56.1%, 0%, 16.9%)
CIE-LABlab(49.58, 43.73, -54.78)
CIE-LCHlch(49.58, 70.09, 308.60°)
OKLaboklab(58.38% 0.0847 -0.1552)
OKLCHoklch(58.38% 0.177 298.6)
XYZxyz(26.4426, 18.0708, 64.3695)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DD4 #A6D45D
analogous
#5D6BD4 #8B5DD4 #C65DD4
triadic
#8B5DD4 #D48B5D #5DD48B
tetradic
#8B5DD4 #D45D6B #A6D45D #5DD4C6
square
#8B5DD4 #D45D6B #A6D45D #5DD4C6
split-complementary
#8B5DD4 #D4C65D #6BD45D
monochromatic
#4F2690 #6A33C1 #8B5DD4 #AE8DE1 #D0BEEE

Accessibility & contrast

On white

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

On black

4.61
#8B5DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DD4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DD4#FFFFFF#000000##000000
##8B5DD41.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2676D8
Deuteranopia (green-blind)
#3875D1
Tritanopia (blue-blind)
#7B7590
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b5dd4;
/* rgb */ color: rgb(139, 93, 212);
/* oklch */ color: oklch(58.4% 0.177 298.6);
Tailwind
colors: {
  custom: {
    50: '#b18ce2',
    500: '#8b5dd4',
    950: '#000000',
  },
}
SCSS
$custom: #8b5dd4;
$custom-light: #b18ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5dd4",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 263.193,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.17679,
    "h": 298.6
  },
  "luminance": 0.18071
}

Semantic roles & 50–950 ramp

primary
#8B5DD4
secondary
#CCDDAF
accent
#E147A5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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