#8C2BB0#8C2BB0

#8C2BB0 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.205 H 314.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8C2BB0
RGBrgb(140, 43, 176)
HSLhsl(284, 61%, 43%)
HSVhsv(284, 76%, 69%)
CMYKcmyk(20.5%, 75.6%, 0%, 31%)
CIE-LABlab(38.62, 59.54, -51.48)
CIE-LCHlch(38.62, 78.71, 319.15°)
OKLaboklab(49.74% 0.1448 -0.1452)
OKLCHoklch(49.74% 0.205 314.9)
XYZxyz(19.5143, 10.4385, 42.0528)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2BB0 #4FB02B
analogous
#492BB0 #8C2BB0 #B02B92
triadic
#8C2BB0 #B08C2B #2BB08C
tetradic
#8C2BB0 #B0492B #4FB02B #2B92B0
square
#8C2BB0 #B0492B #4FB02B #2B92B0
split-complementary
#8C2BB0 #92B02B #2BB049
monochromatic
#3E134E #651F7F #8C2BB0 #AC46D2 #C278DE

Accessibility & contrast

On white

6.80
#8C2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8C2BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2BB0
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2BB0#FFFFFF#000000##FFFFFF
##8C2BB01.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#255DAD
Tritanopia (blue-blind)
#89496C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8c2bb0;
/* rgb */ color: rgb(140, 43, 176);
/* oklch */ color: oklch(49.7% 0.205 314.9);
Tailwind
colors: {
  custom: {
    50: '#b26fc8',
    500: '#8c2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #8c2bb0;
$custom-light: #b26fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2bb0",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 283.759,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49738,
    "c": 0.20507,
    "h": 314.9
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#8C2BB0
secondary
#88C671
accent
#E4446F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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