#8B2CC6#8B2CC6

#8B2CC6 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.224 H 308.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8B2CC6
RGBrgb(139, 44, 198)
HSLhsl(277, 64%, 47%)
HSVhsv(277, 78%, 78%)
CMYKcmyk(29.8%, 77.8%, 0%, 22.4%)
CIE-LABlab(40.19, 63.56, -61.88)
CIE-LCHlch(40.19, 88.71, 315.77°)
OKLaboklab(51.32% 0.1385 -0.1758)
OKLCHoklch(51.32% 0.224 308.2)
XYZxyz(21.7391, 11.3679, 54.4641)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CC6 #67C62C
analogous
#3E2CC6 #8B2CC6 #C62CB4
triadic
#8B2CC6 #C68B2C #2CC68B
tetradic
#8B2CC6 #C63E2C #67C62C #2CB4C6
square
#8B2CC6 #C63E2C #67C62C #2CB4C6
split-complementary
#8B2CC6 #B4C62C #2CC63E
monochromatic
#451662 #682194 #8B2CC6 #A756D9 #C188E5

Accessibility & contrast

On white

6.41
#8B2CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8B2CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CC6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CC6#FFFFFF#000000##FFFFFF
##8B2CC61.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#815379
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b2cc6;
/* rgb */ color: rgb(139, 44, 198);
/* oklch */ color: oklch(51.3% 0.224 308.2);
Tailwind
colors: {
  custom: {
    50: '#b270d8',
    500: '#8b2cc6',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cc6;
$custom-light: #b270d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cc6",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 198
  },
  "hsl": {
    "h": 277.013,
    "s": 63.636,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5132,
    "c": 0.2238,
    "h": 308.2
  },
  "luminance": 0.11368
}

Semantic roles & 50–950 ramp

primary
#8B2CC6
secondary
#9ECE80
accent
#E74181
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #8B2CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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