#8B2DB0#8B2DB0

#8B2DB0 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.203 H 314.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8B2DB0
RGBrgb(139, 45, 176)
HSLhsl(283, 59%, 43%)
HSVhsv(283, 74%, 69%)
CMYKcmyk(21%, 74.4%, 0%, 31%)
CIE-LABlab(38.73, 58.60, -51.31)
CIE-LCHlch(38.73, 77.89, 318.80°)
OKLaboklab(49.79% 0.1416 -0.1448)
OKLCHoklch(49.79% 0.203 314.4)
XYZxyz(19.4210, 10.5010, 42.0697)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DB0 #52B02D
analogous
#492DB0 #8B2DB0 #B02D93
triadic
#8B2DB0 #B08B2D #2DB08B
tetradic
#8B2DB0 #B0492D #52B02D #2D93B0
square
#8B2DB0 #B0492D #52B02D #2D93B0
split-complementary
#8B2DB0 #93B02D #2DB049
monochromatic
#3E144F #65217F #8B2DB0 #AA4AD1 #C17ADD

Accessibility & contrast

On white

6.77
#8B2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8B2DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2DB0
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DB0#FFFFFF#000000##FFFFFF
##8B2DB01.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#255DAD
Tritanopia (blue-blind)
#884A6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2db0;
/* rgb */ color: rgb(139, 45, 176);
/* oklch */ color: oklch(49.8% 0.203 314.4);
Tailwind
colors: {
  custom: {
    50: '#b170c8',
    500: '#8b2db0',
    950: '#000000',
  },
}
SCSS
$custom: #8b2db0;
$custom-light: #b170c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2db0",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 283.053,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49785,
    "c": 0.20254,
    "h": 314.4
  },
  "luminance": 0.105
}

Semantic roles & 50–950 ramp

primary
#8B2DB0
secondary
#8BC573
accent
#E24572
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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