#8B5EBD#8B5EBD

#8B5EBD is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.1% C 0.147 H 304.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8B5EBD
RGBrgb(139, 94, 189)
HSLhsl(268, 42%, 55%)
HSVhsv(268, 50%, 74%)
CMYKcmyk(26.5%, 50.3%, 0%, 25.9%)
CIE-LABlab(48.47, 37.40, -43.34)
CIE-LCHlch(48.47, 57.25, 310.79°)
OKLaboklab(57.13% 0.0821 -0.1217)
OKLCHoklch(57.13% 0.147 304)
XYZxyz(23.8335, 17.1686, 50.1925)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EBD #90BD5E
analogous
#5E60BD #8B5EBD #BA5EBD
triadic
#8B5EBD #BD8B5E #5EBD8B
tetradic
#8B5EBD #BD5E60 #90BD5E #5EBDBA
square
#8B5EBD #BD5E60 #90BD5E #5EBDBA
split-complementary
#8B5EBD #BDBA5E #60BD5E
monochromatic
#4F2F72 #6C409D #8B5EBD #AA89CF #CAB5E1

Accessibility & contrast

On white

4.74
#8B5EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8B5EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5EBD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EBD#FFFFFF#000000##FFFFFF
##8B5EBD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4172C0
Deuteranopia (green-blind)
#4D73BB
Tritanopia (blue-blind)
#826F85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b5ebd;
/* rgb */ color: rgb(139, 94, 189);
/* oklch */ color: oklch(57.1% 0.147 304.0);
Tailwind
colors: {
  custom: {
    50: '#af8dd1',
    500: '#8b5ebd',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ebd;
$custom-light: #af8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ebd",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 268.421,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57127,
    "c": 0.14678,
    "h": 304
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#8B5EBD
secondary
#BCCFA8
accent
#D25697
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8B5EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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