#8C1DB0#8C1DB0

#8C1DB0 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.7% C 0.218 H 315.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8C1DB0
RGBrgb(140, 29, 176)
HSLhsl(285, 72%, 40%)
HSVhsv(285, 84%, 69%)
CMYKcmyk(20.5%, 83.5%, 0%, 31%)
CIE-LABlab(37.10, 63.95, -53.94)
CIE-LCHlch(37.10, 83.67, 319.85°)
OKLaboklab(48.67% 0.1558 -0.1524)
OKLCHoklch(48.67% 0.218 315.6)
XYZxyz(19.0898, 9.5895, 41.9113)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1DB0 #41B01D
analogous
#421DB0 #8C1DB0 #B01D8A
triadic
#8C1DB0 #B08C1D #1DB08C
tetradic
#8C1DB0 #B0421D #41B01D #1D8AB0
square
#8C1DB0 #B0421D #41B01D #1D8AB0
split-complementary
#8C1DB0 #8AB01D #1DB042
monochromatic
#380C47 #62147B #8C1DB0 #B22EDD #C562E5

Accessibility & contrast

On white

7.20
#8C1DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8C1DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1DB0
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1DB0#FFFFFF#000000##FFFFFF
##8C1DB01.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#165AAD
Tritanopia (blue-blind)
#894269
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8c1db0;
/* rgb */ color: rgb(140, 29, 176);
/* oklch */ color: oklch(48.7% 0.218 315.6);
Tailwind
colors: {
  custom: {
    50: '#b269c8',
    500: '#8c1db0',
    950: '#000000',
  },
}
SCSS
$custom: #8c1db0;
$custom-light: #b269c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1db0",
  "rgb": {
    "r": 140,
    "g": 29,
    "b": 176
  },
  "hsl": {
    "h": 285.306,
    "s": 71.707,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48668,
    "c": 0.21795,
    "h": 315.6
  },
  "luminance": 0.09589
}

Semantic roles & 50–950 ramp

primary
#8C1DB0
secondary
#79CA5F
accent
#EE3966
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8C1DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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