#8C2BC0#8C2BC0

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

Color values

HEX#8C2BC0
RGBrgb(140, 43, 192)
HSLhsl(279, 63%, 46%)
HSVhsv(279, 78%, 75%)
CMYKcmyk(27.1%, 77.6%, 0%, 24.7%)
CIE-LABlab(39.76, 62.82, -59.06)
CIE-LCHlch(39.76, 86.23, 316.77°)
OKLaboklab(50.91% 0.1419 -0.1675)
OKLCHoklch(50.91% 0.22 310.3)
XYZxyz(21.1916, 11.1095, 50.8869)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2BC0 #5FC02B
analogous
#412BC0 #8C2BC0 #C02BA9
triadic
#8C2BC0 #C08C2B #2BC08C
tetradic
#8C2BC0 #C0412B #5FC02B #2BA9C0
square
#8C2BC0 #C0412B #5FC02B #2BA9C0
split-complementary
#8C2BC0 #A9C02B #2BC041
monochromatic
#43155C #68208E #8C2BC0 #A950D8 #C182E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C2BC0#FFFFFF#000000##FFFFFF
##8C2BC01.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)
#855075
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8c2bc0;
/* rgb */ color: rgb(140, 43, 192);
/* oklch */ color: oklch(50.9% 0.220 310.3);
Tailwind
colors: {
  custom: {
    50: '#b370d4',
    500: '#8c2bc0',
    950: '#000000',
  },
}
SCSS
$custom: #8c2bc0;
$custom-light: #b370d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2bc0",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 279.06,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50907,
    "c": 0.21955,
    "h": 310.3
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#8C2BC0
secondary
#97CC7B
accent
#E6417B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8C2BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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