#8B2CBD#8B2CBD

#8B2CBD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.216 H 310.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8B2CBD
RGBrgb(139, 44, 189)
HSLhsl(279, 62%, 46%)
HSVhsv(279, 77%, 74%)
CMYKcmyk(26.5%, 76.7%, 0%, 25.9%)
CIE-LABlab(39.52, 61.66, -57.70)
CIE-LCHlch(39.52, 84.45, 316.90°)
OKLaboklab(50.64% 0.1404 -0.1636)
OKLCHoklch(50.64% 0.216 310.6)
XYZxyz(20.7317, 10.9649, 49.1586)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CBD #5EBD2C
analogous
#422CBD #8B2CBD #BD2CA7
triadic
#8B2CBD #BD8B2C #2CBD8B
tetradic
#8B2CBD #BD422C #5EBD2C #2CA7BD
square
#8B2CBD #BD422C #5EBD2C #2CA7BD
split-complementary
#8B2CBD #A7BD2C #2CBD42
monochromatic
#42155A #66208B #8B2CBD #A850D6 #C182E2

Accessibility & contrast

On white

6.58
#8B2CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8B2CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CBD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CBD#FFFFFF#000000##FFFFFF
##8B2CBD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#025FBA
Tritanopia (blue-blind)
#844F74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2cbd;
/* rgb */ color: rgb(139, 44, 189);
/* oklch */ color: oklch(50.6% 0.216 310.6);
Tailwind
colors: {
  custom: {
    50: '#b270d2',
    500: '#8b2cbd',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cbd;
$custom-light: #b270d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cbd",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 279.31,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.21553,
    "h": 310.6
  },
  "luminance": 0.10964
}

Semantic roles & 50–950 ramp

primary
#8B2CBD
secondary
#96CB7A
accent
#E5427B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B2CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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