#8B5DD2#8B5DD2

#8B5DD2 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.174 H 299.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8B5DD2
RGBrgb(139, 93, 210)
HSLhsl(264, 57%, 59%)
HSVhsv(264, 56%, 82%)
CMYKcmyk(33.8%, 55.7%, 0%, 17.6%)
CIE-LABlab(49.46, 43.21, -53.84)
CIE-LCHlch(49.46, 69.04, 308.75°)
OKLaboklab(58.25% 0.0847 -0.1524)
OKLCHoklch(58.25% 0.174 299)
XYZxyz(26.1918, 17.9706, 63.0490)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DD2 #A4D25D
analogous
#5D6AD2 #8B5DD2 #C65DD2
triadic
#8B5DD2 #D28B5D #5DD28B
tetradic
#8B5DD2 #D25D6A #A4D25D #5DD2C6
square
#8B5DD2 #D25D6A #A4D25D #5DD2C6
split-complementary
#8B5DD2 #D2C65D #6AD25D
monochromatic
#4F278D #6A35BD #8B5DD2 #AD8DDF #D0BDED

Accessibility & contrast

On white

4.57
#8B5DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8B5DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DD2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DD2#FFFFFF#000000##000000
##8B5DD21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2976D6
Deuteranopia (green-blind)
#3A75CF
Tritanopia (blue-blind)
#7C758F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b5dd2;
/* rgb */ color: rgb(139, 93, 210);
/* oklch */ color: oklch(58.2% 0.174 299.0);
Tailwind
colors: {
  custom: {
    50: '#b18ce0',
    500: '#8b5dd2',
    950: '#000000',
  },
}
SCSS
$custom: #8b5dd2;
$custom-light: #b18ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5dd2",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 263.59,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58248,
    "c": 0.17435,
    "h": 299
  },
  "luminance": 0.17971
}

Semantic roles & 50–950 ramp

primary
#8B5DD2
secondary
#CADCAF
accent
#E048A4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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