#8B2DB5#8B2DB5

#8B2DB5 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.207 H 312.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8B2DB5
RGBrgb(139, 45, 181)
HSLhsl(281, 60%, 44%)
HSVhsv(281, 75%, 71%)
CMYKcmyk(23.2%, 75.1%, 0%, 29%)
CIE-LABlab(39.07, 59.63, -53.71)
CIE-LCHlch(39.07, 80.25, 317.99°)
OKLaboklab(50.14% 0.1409 -0.1518)
OKLCHoklch(50.14% 0.207 312.9)
XYZxyz(19.9248, 10.7025, 44.7233)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DB5 #57B52D
analogous
#472DB5 #8B2DB5 #B52D9B
triadic
#8B2DB5 #B58B2D #2DB58B
tetradic
#8B2DB5 #B5472D #57B52D #2D9BB5
square
#8B2DB5 #B5472D #57B52D #2D9BB5
split-complementary
#8B2DB5 #9BB52D #2DB547
monochromatic
#401553 #652184 #8B2DB5 #A94DD3 #C17EDF

Accessibility & contrast

On white

6.69
#8B2DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8B2DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2DB5
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DB5#FFFFFF#000000##FFFFFF
##8B2DB51.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#1D5EB2
Tritanopia (blue-blind)
#864C6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2db5;
/* rgb */ color: rgb(139, 45, 181);
/* oklch */ color: oklch(50.1% 0.207 312.9);
Tailwind
colors: {
  custom: {
    50: '#b170cc',
    500: '#8b2db5',
    950: '#000000',
  },
}
SCSS
$custom: #8b2db5;
$custom-light: #b170cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2db5",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 281.471,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.20713,
    "h": 312.9
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#8B2DB5
secondary
#8FC776
accent
#E34476
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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