#8B2CC2#8B2CC2

#8B2CC2 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.220 H 309.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8B2CC2
RGBrgb(139, 44, 194)
HSLhsl(278, 63%, 47%)
HSVhsv(278, 77%, 76%)
CMYKcmyk(28.4%, 77.3%, 0%, 23.9%)
CIE-LABlab(39.89, 62.71, -60.03)
CIE-LCHlch(39.89, 86.82, 316.25°)
OKLaboklab(51.01% 0.1393 -0.1704)
OKLCHoklch(51.01% 0.22 309.3)
XYZxyz(21.2838, 11.1858, 52.0663)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CC2 #63C22C
analogous
#402CC2 #8B2CC2 #C22CAE
triadic
#8B2CC2 #C28B2C #2CC28B
tetradic
#8B2CC2 #C2402C #63C22C #2CAEC2
square
#8B2CC2 #C2402C #63C22C #2CAEC2
split-complementary
#8B2CC2 #AEC22C #2CC240
monochromatic
#44155E #672190 #8B2CC2 #A753D8 #C185E3

Accessibility & contrast

On white

6.49
#8B2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8B2CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CC2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CC2#FFFFFF#000000##FFFFFF
##8B2CC21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2cc2;
/* rgb */ color: rgb(139, 44, 194);
/* oklch */ color: oklch(51.0% 0.220 309.3);
Tailwind
colors: {
  custom: {
    50: '#b270d5',
    500: '#8b2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cc2;
$custom-light: #b270d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cc2",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 278,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51014,
    "c": 0.22013,
    "h": 309.3
  },
  "luminance": 0.11185
}

Semantic roles & 50–950 ramp

primary
#8B2CC2
secondary
#9ACD7D
accent
#E6427E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8B2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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