#8B2DBE#8B2DBE

#8B2DBE is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.215 H 310.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8B2DBE
RGBrgb(139, 45, 190)
HSLhsl(279, 62%, 46%)
HSVhsv(279, 76%, 75%)
CMYKcmyk(26.8%, 76.3%, 0%, 25.5%)
CIE-LABlab(39.72, 61.51, -57.97)
CIE-LCHlch(39.72, 84.52, 316.70°)
OKLaboklab(50.8% 0.1393 -0.1643)
OKLCHoklch(50.8% 0.215 310.3)
XYZxyz(20.8783, 11.0839, 49.7448)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DBE #60BE2D
analogous
#432DBE #8B2DBE #BE2DA8
triadic
#8B2DBE #BE8B2D #2DBE8B
tetradic
#8B2DBE #BE432D #60BE2D #2DA8BE
square
#8B2DBE #BE432D #60BE2D #2DA8BE
split-complementary
#8B2DBE #A8BE2D #2DBE43
monochromatic
#43165B #67218D #8B2DBE #A852D6 #C184E2

Accessibility & contrast

On white

6.53
#8B2DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8B2DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2DBE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DBE#FFFFFF#000000##FFFFFF
##8B2DBE1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#845074
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b2dbe;
/* rgb */ color: rgb(139, 45, 190);
/* oklch */ color: oklch(50.8% 0.215 310.3);
Tailwind
colors: {
  custom: {
    50: '#b270d2',
    500: '#8b2dbe',
    950: '#000000',
  },
}
SCSS
$custom: #8b2dbe;
$custom-light: #b270d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2dbe",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 190
  },
  "hsl": {
    "h": 278.897,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.21543,
    "h": 310.3
  },
  "luminance": 0.11083
}

Semantic roles & 50–950 ramp

primary
#8B2DBE
secondary
#98CB7C
accent
#E5437C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B2DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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