#8B2CC1#8B2CC1

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

Color values

HEX#8B2CC1
RGBrgb(139, 44, 193)
HSLhsl(278, 63%, 46%)
HSVhsv(278, 77%, 76%)
CMYKcmyk(28%, 77.2%, 0%, 24.3%)
CIE-LABlab(39.82, 62.50, -59.57)
CIE-LCHlch(39.82, 86.34, 316.38°)
OKLaboklab(50.94% 0.1396 -0.169)
OKLCHoklch(50.94% 0.219 309.5)
XYZxyz(21.1718, 11.1410, 51.4769)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CC1 #62C12C
analogous
#412CC1 #8B2CC1 #C12CAD
triadic
#8B2CC1 #C18B2C #2CC18B
tetradic
#8B2CC1 #C1412C #62C12C #2CADC1
square
#8B2CC1 #C1412C #62C12C #2CADC1
split-complementary
#8B2CC1 #ADC12C #2CC141
monochromatic
#43155D #67218F #8B2CC1 #A753D8 #C184E3

Accessibility & contrast

On white

6.51
#8B2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B2CC1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CC1#FFFFFF#000000##FFFFFF
##8B2CC11.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2cc1;
/* rgb */ color: rgb(139, 44, 193);
/* oklch */ color: oklch(50.9% 0.219 309.5);
Tailwind
colors: {
  custom: {
    50: '#b270d5',
    500: '#8b2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cc1;
$custom-light: #b270d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cc1",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 278.255,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50938,
    "c": 0.2192,
    "h": 309.5
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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