#8B3DB2#8B3DB2

#8B3DB2 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.185 H 312.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8B3DB2
RGBrgb(139, 61, 178)
HSLhsl(280, 49%, 47%)
HSVhsv(280, 66%, 70%)
CMYKcmyk(21.9%, 65.7%, 0%, 30.2%)
CIE-LABlab(41.28, 52.22, -48.38)
CIE-LCHlch(41.28, 71.19, 317.18°)
OKLaboklab(51.65% 0.1244 -0.1363)
OKLCHoklch(51.65% 0.185 312.4)
XYZxyz(20.3506, 12.0414, 43.3630)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DB2 #64B23D
analogous
#513DB2 #8B3DB2 #B23D9F
triadic
#8B3DB2 #B28B3D #3DB28B
tetradic
#8B3DB2 #B2513D #64B23D #3D9FB2
square
#8B3DB2 #B2513D #64B23D #3D9FB2
split-complementary
#8B3DB2 #9FB23D #3DB251
monochromatic
#441E57 #672D84 #8B3DB2 #A763C9 #C190D9

Accessibility & contrast

On white

6.16
#8B3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8B3DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DB2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DB2#FFFFFF#000000##FFFFFF
##8B3DB21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3363AF
Tritanopia (blue-blind)
#875472
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3db2;
/* rgb */ color: rgb(139, 61, 178);
/* oklch */ color: oklch(51.7% 0.185 312.4);
Tailwind
colors: {
  custom: {
    50: '#b078ca',
    500: '#8b3db2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3db2;
$custom-light: #b078ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3db2",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 280,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.18457,
    "h": 312.4
  },
  "luminance": 0.12041
}

Semantic roles & 50–950 ramp

primary
#8B3DB2
secondary
#9BC487
accent
#D94F7D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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