#8B2CC0#8B2CC0

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

Color values

HEX#8B2CC0
RGBrgb(139, 44, 192)
HSLhsl(279, 63%, 46%)
HSVhsv(279, 77%, 75%)
CMYKcmyk(27.6%, 77.1%, 0%, 24.7%)
CIE-LABlab(39.74, 62.29, -59.10)
CIE-LCHlch(39.74, 85.87, 316.50°)
OKLaboklab(50.86% 0.1398 -0.1677)
OKLCHoklch(50.86% 0.218 309.8)
XYZxyz(21.0607, 11.0965, 50.8913)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CC0 #61C02C
analogous
#412CC0 #8B2CC0 #C02CAB
triadic
#8B2CC0 #C08B2C #2CC08B
tetradic
#8B2CC0 #C0412C #61C02C #2CABC0
square
#8B2CC0 #C0412C #61C02C #2CABC0
split-complementary
#8B2CC0 #ABC02C #2CC041
monochromatic
#43155C #67218E #8B2CC0 #A852D7 #C184E3

Accessibility & contrast

On white

6.52
#8B2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8B2CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CC0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CC0#FFFFFF#000000##FFFFFF
##8B2CC01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#835075
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b2cc0;
/* rgb */ color: rgb(139, 44, 192);
/* oklch */ color: oklch(50.9% 0.218 309.8);
Tailwind
colors: {
  custom: {
    50: '#b270d4',
    500: '#8b2cc0',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cc0;
$custom-light: #b270d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cc0",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 278.514,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.21829,
    "h": 309.8
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B2CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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