#8C2EB0#8C2EB0

#8C2EB0 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.0% C 0.202 H 314.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8C2EB0
RGBrgb(140, 46, 176)
HSLhsl(283, 59%, 44%)
HSVhsv(283, 74%, 69%)
CMYKcmyk(20.5%, 73.9%, 0%, 31%)
CIE-LABlab(39.01, 58.43, -50.85)
CIE-LCHlch(39.01, 77.45, 318.97°)
OKLaboklab(50.02% 0.142 -0.1434)
OKLCHoklch(50.02% 0.202 314.7)
XYZxyz(19.6274, 10.6647, 42.0905)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2EB0 #52B02E
analogous
#4B2EB0 #8C2EB0 #B02E93
triadic
#8C2EB0 #B08C2E #2EB08C
tetradic
#8C2EB0 #B04B2E #52B02E #2E93B0
square
#8C2EB0 #B04B2E #52B02E #2E93B0
split-complementary
#8C2EB0 #93B02E #2EB04B
monochromatic
#3F154F #65217F #8C2EB0 #AB4BD0 #C27CDD

Accessibility & contrast

On white

6.70
#8C2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C2EB0
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2EB0#FFFFFF#000000##FFFFFF
##8C2EB01.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#285EAD
Tritanopia (blue-blind)
#894A6D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8c2eb0;
/* rgb */ color: rgb(140, 46, 176);
/* oklch */ color: oklch(50.0% 0.202 314.7);
Tailwind
colors: {
  custom: {
    50: '#b270c8',
    500: '#8c2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #8c2eb0;
$custom-light: #b270c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2eb0",
  "rgb": {
    "r": 140,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 283.385,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.20178,
    "h": 314.7
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#8C2EB0
secondary
#8BC575
accent
#E24671
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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