#8C1CA9#8C1CA9

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

Color values

HEX#8C1CA9
RGBrgb(140, 28, 169)
HSLhsl(288, 72%, 39%)
HSVhsv(288, 83%, 66%)
CMYKcmyk(17.2%, 83.4%, 0%, 33.7%)
CIE-LABlab(36.50, 62.90, -50.72)
CIE-LCHlch(36.50, 80.80, 321.12°)
OKLaboklab(48.09% 0.1579 -0.1429)
OKLCHoklch(48.09% 0.213 317.8)
XYZxyz(18.3909, 9.2714, 38.3493)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1CA9 #39A91C
analogous
#461CA9 #8C1CA9 #A91C7F
triadic
#8C1CA9 #A98C1C #1CA98C
tetradic
#8C1CA9 #A9461C #39A91C #1C7FA9
square
#8C1CA9 #A9461C #39A91C #1C7FA9
split-complementary
#8C1CA9 #7FA91C #1CA946
monochromatic
#350B40 #611374 #8C1CA9 #B627DB #C85BE4

Accessibility & contrast

On white

7.36
#8C1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8C1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1CA9
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1CA9#FFFFFF#000000##FFFFFF
##8C1CA91.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#2259A6
Tritanopia (blue-blind)
#8B3E65
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c1ca9;
/* rgb */ color: rgb(140, 28, 169);
/* oklch */ color: oklch(48.1% 0.213 317.8);
Tailwind
colors: {
  custom: {
    50: '#b269c3',
    500: '#8c1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #8c1ca9;
$custom-light: #b269c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1ca9",
  "rgb": {
    "r": 140,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 287.66,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48093,
    "c": 0.21297,
    "h": 317.8
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#8C1CA9
secondary
#70C859
accent
#EE395F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8C1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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