#8C2BBF#8C2BBF

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

Color values

HEX#8C2BBF
RGBrgb(140, 43, 191)
HSLhsl(279, 63%, 46%)
HSVhsv(279, 77%, 75%)
CMYKcmyk(26.7%, 77.5%, 0%, 25.1%)
CIE-LABlab(39.69, 62.62, -58.60)
CIE-LCHlch(39.69, 85.76, 316.90°)
OKLaboklab(50.83% 0.1421 -0.1661)
OKLCHoklch(50.83% 0.219 310.5)
XYZxyz(21.0812, 11.0653, 50.3054)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2BBF #5EBF2B
analogous
#422BBF #8C2BBF #BF2BA8
triadic
#8C2BBF #BF8C2B #2BBF8C
tetradic
#8C2BBF #BF422B #5EBF2B #2BA8BF
square
#8C2BBF #BF422B #5EBF2B #2BA8BF
split-complementary
#8C2BBF #A8BF2B #2BBF42
monochromatic
#43155B #67208D #8C2BBF #A950D8 #C182E3

Accessibility & contrast

On white

6.54
#8C2BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8C2BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2BBF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2BBF#FFFFFF#000000##FFFFFF
##8C2BBF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#854F75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8c2bbf;
/* rgb */ color: rgb(140, 43, 191);
/* oklch */ color: oklch(50.8% 0.219 310.5);
Tailwind
colors: {
  custom: {
    50: '#b36fd3',
    500: '#8c2bbf',
    950: '#000000',
  },
}
SCSS
$custom: #8c2bbf;
$custom-light: #b36fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2bbf",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 279.324,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50832,
    "c": 0.21863,
    "h": 310.5
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#8C2BBF
secondary
#96CC7A
accent
#E6427A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8C2BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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