#8B2DBC#8B2DBC

#8B2DBC is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.214 H 310.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8B2DBC
RGBrgb(139, 45, 188)
HSLhsl(279, 61%, 46%)
HSVhsv(279, 76%, 74%)
CMYKcmyk(26.1%, 76.1%, 0%, 26.3%)
CIE-LABlab(39.58, 61.09, -57.03)
CIE-LCHlch(39.58, 83.57, 316.97°)
OKLaboklab(50.65% 0.1397 -0.1616)
OKLCHoklch(50.65% 0.214 310.8)
XYZxyz(20.6612, 10.9971, 48.6014)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DBC #5EBC2D
analogous
#442DBC #8B2DBC #BC2DA5
triadic
#8B2DBC #BC8B2D #2DBC8B
tetradic
#8B2DBC #BC442D #5EBC2D #2DA5BC
square
#8B2DBC #BC442D #5EBC2D #2DA5BC
split-complementary
#8B2DBC #A5BC2D #2DBC44
monochromatic
#421559 #66218B #8B2DBC #A851D5 #C182E1

Accessibility & contrast

On white

6.56
#8B2DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8B2DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2DBC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DBC#FFFFFF#000000##FFFFFF
##8B2DBC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#095FB9
Tritanopia (blue-blind)
#844F73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2dbc;
/* rgb */ color: rgb(139, 45, 188);
/* oklch */ color: oklch(50.7% 0.214 310.8);
Tailwind
colors: {
  custom: {
    50: '#b270d1',
    500: '#8b2dbc',
    950: '#000000',
  },
}
SCSS
$custom: #8b2dbc;
$custom-light: #b270d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2dbc",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 279.441,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50653,
    "c": 0.21358,
    "h": 310.8
  },
  "luminance": 0.10997
}

Semantic roles & 50–950 ramp

primary
#8B2DBC
secondary
#96CA7B
accent
#E4437B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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