#8C2BBD#8C2BBD

#8C2BBD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.217 H 311.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8C2BBD
RGBrgb(140, 43, 189)
HSLhsl(280, 63%, 45%)
HSVhsv(280, 77%, 74%)
CMYKcmyk(25.9%, 77.2%, 0%, 25.9%)
CIE-LABlab(39.54, 62.20, -57.66)
CIE-LCHlch(39.54, 84.82, 317.17°)
OKLaboklab(50.68% 0.1425 -0.1634)
OKLCHoklch(50.68% 0.217 311.1)
XYZxyz(20.8626, 10.9779, 49.1542)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2BBD #5CBD2B
analogous
#432BBD #8C2BBD #BD2BA5
triadic
#8C2BBD #BD8C2B #2BBD8C
tetradic
#8C2BBD #BD432B #5CBD2B #2BA5BD
square
#8C2BBD #BD432B #5CBD2B #2BA5BD
split-complementary
#8C2BBD #A5BD2B #2BBD43
monochromatic
#421459 #67208B #8C2BBD #A94ED7 #C180E2

Accessibility & contrast

On white

6.57
#8C2BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8C2BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2BBD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2BBD#FFFFFF#000000##FFFFFF
##8C2BBD1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#045FBA
Tritanopia (blue-blind)
#854E73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8c2bbd;
/* rgb */ color: rgb(140, 43, 189);
/* oklch */ color: oklch(50.7% 0.217 311.1);
Tailwind
colors: {
  custom: {
    50: '#b36fd2',
    500: '#8c2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #8c2bbd;
$custom-light: #b36fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2bbd",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 279.863,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50683,
    "c": 0.21683,
    "h": 311.1
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#8C2BBD
secondary
#94CB79
accent
#E64279
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8C2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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