#8C2CBF#8C2CBF

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

Color values

HEX#8C2CBF
RGBrgb(140, 44, 191)
HSLhsl(279, 63%, 46%)
HSVhsv(279, 77%, 75%)
CMYKcmyk(26.7%, 77%, 0%, 25.1%)
CIE-LABlab(39.81, 62.26, -58.40)
CIE-LCHlch(39.81, 85.36, 316.83°)
OKLaboklab(50.92% 0.1413 -0.1656)
OKLCHoklch(50.92% 0.218 310.5)
XYZxyz(21.1180, 11.1389, 50.3177)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2CBF #5FBF2C
analogous
#432CBF #8C2CBF #BF2CA8
triadic
#8C2CBF #BF8C2C #2CBF8C
tetradic
#8C2CBF #BF432C #5FBF2C #2CA8BF
square
#8C2CBF #BF432C #5FBF2C #2CA8BF
split-complementary
#8C2CBF #A8BF2C #2CBF43
monochromatic
#43155C #68218D #8C2CBF #A951D7 #C183E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C2CBF#FFFFFF#000000##FFFFFF
##8C2CBF1.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)
#005AC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#855075
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8c2cbf;
/* rgb */ color: rgb(140, 44, 191);
/* oklch */ color: oklch(50.9% 0.218 310.5);
Tailwind
colors: {
  custom: {
    50: '#b370d3',
    500: '#8c2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #8c2cbf;
$custom-light: #b370d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2cbf",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 279.184,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.21765,
    "h": 310.5
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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