#8C1DA8#8C1DA8

#8C1DA8 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.1% C 0.211 H 318.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8C1DA8
RGBrgb(140, 29, 168)
HSLhsl(288, 71%, 39%)
HSVhsv(288, 83%, 66%)
CMYKcmyk(16.7%, 82.7%, 0%, 34.1%)
CIE-LABlab(36.52, 62.44, -50.09)
CIE-LCHlch(36.52, 80.05, 321.26°)
OKLaboklab(48.09% 0.1574 -0.1411)
OKLCHoklch(48.09% 0.211 318.1)
XYZxyz(18.3215, 9.2822, 37.8648)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1DA8 #39A81D
analogous
#471DA8 #8C1DA8 #A81D7E
triadic
#8C1DA8 #A88C1D #1DA88C
tetradic
#8C1DA8 #A8471D #39A81D #1D7EA8
square
#8C1DA8 #A8471D #39A81D #1D7EA8
split-complementary
#8C1DA8 #7EA81D #1DA847
monochromatic
#350B40 #611474 #8C1DA8 #B628DA #C85CE3

Accessibility & contrast

On white

7.35
#8C1DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8C1DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1DA8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1DA8#FFFFFF#000000##FFFFFF
##8C1DA81.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#2459A5
Tritanopia (blue-blind)
#8B3E64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c1da8;
/* rgb */ color: rgb(140, 29, 168);
/* oklch */ color: oklch(48.1% 0.211 318.1);
Tailwind
colors: {
  custom: {
    50: '#b269c3',
    500: '#8c1da8',
    950: '#000000',
  },
}
SCSS
$custom: #8c1da8;
$custom-light: #b269c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1da8",
  "rgb": {
    "r": 140,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 287.914,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48085,
    "c": 0.21136,
    "h": 318.1
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#8C1DA8
secondary
#70C75A
accent
#ED3A5E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8C1DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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