#8C2BB5#8C2BB5

#8C2BB5 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.210 H 313.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8C2BB5
RGBrgb(140, 43, 181)
HSLhsl(282, 62%, 44%)
HSVhsv(282, 76%, 71%)
CMYKcmyk(22.7%, 76.2%, 0%, 29%)
CIE-LABlab(38.97, 60.56, -53.88)
CIE-LCHlch(38.97, 81.06, 318.34°)
OKLaboklab(50.1% 0.144 -0.1523)
OKLCHoklch(50.1% 0.21 313.4)
XYZxyz(20.0181, 10.6400, 44.7063)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2BB5 #54B52B
analogous
#472BB5 #8C2BB5 #B52B99
triadic
#8C2BB5 #B58C2B #2BB58C
tetradic
#8C2BB5 #B5472B #54B52B #2B99B5
square
#8C2BB5 #B5472B #54B52B #2B99B5
split-complementary
#8C2BB5 #99B52B #2BB547
monochromatic
#401452 #661F84 #8C2BB5 #AB49D4 #C27BE0

Accessibility & contrast

On white

6.71
#8C2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8C2BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2BB5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2BB5#FFFFFF#000000##FFFFFF
##8C2BB51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#1C5EB2
Tritanopia (blue-blind)
#884B6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8c2bb5;
/* rgb */ color: rgb(140, 43, 181);
/* oklch */ color: oklch(50.1% 0.210 313.4);
Tailwind
colors: {
  custom: {
    50: '#b26fcc',
    500: '#8c2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #8c2bb5;
$custom-light: #b26fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2bb5",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 282.174,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50096,
    "c": 0.20957,
    "h": 313.4
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#8C2BB5
secondary
#8DC874
accent
#E54373
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8C2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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