#8B2DC0#8B2DC0

#8B2DC0 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.217 H 309.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8B2DC0
RGBrgb(139, 45, 192)
HSLhsl(278, 62%, 46%)
HSVhsv(278, 77%, 75%)
CMYKcmyk(27.6%, 76.6%, 0%, 24.7%)
CIE-LABlab(39.87, 61.93, -58.90)
CIE-LCHlch(39.87, 85.47, 316.44°)
OKLaboklab(50.95% 0.1389 -0.1671)
OKLCHoklch(50.95% 0.217 309.7)
XYZxyz(21.0984, 11.1719, 50.9039)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DC0 #62C02D
analogous
#422DC0 #8B2DC0 #C02DAC
triadic
#8B2DC0 #C08B2D #2DC08B
tetradic
#8B2DC0 #C0422D #62C02D #2DACC0
square
#8B2DC0 #C0422D #62C02D #2DACC0
split-complementary
#8B2DC0 #ACC02D #2DC042
monochromatic
#43165D #67218E #8B2DC0 #A753D7 #C185E2

Accessibility & contrast

On white

6.49
#8B2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8B2DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2DC0
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DC0#FFFFFF#000000##FFFFFF
##8B2DC01.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#835176
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b2dc0;
/* rgb */ color: rgb(139, 45, 192);
/* oklch */ color: oklch(51.0% 0.217 309.7);
Tailwind
colors: {
  custom: {
    50: '#b270d4',
    500: '#8b2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #8b2dc0;
$custom-light: #b270d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2dc0",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 278.367,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.21728,
    "h": 309.7
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#8B2DC0
secondary
#99CC7D
accent
#E5437D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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