#8C1895#8C1895

#8C1895 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.200 H 324.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8C1895
RGBrgb(140, 24, 149)
HSLhsl(296, 72%, 34%)
HSVhsv(296, 84%, 58%)
CMYKcmyk(6%, 83.9%, 0%, 41.6%)
CIE-LABlab(34.80, 60.32, -41.35)
CIE-LCHlch(34.80, 73.13, 325.57°)
OKLaboklab(46.47% 0.1635 -0.1154)
OKLCHoklch(46.47% 0.2 324.8)
XYZxyz(16.5662, 8.3998, 29.1767)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1895 #219518
analogous
#4E1895 #8C1895 #951860
triadic
#8C1895 #958C18 #18958C
tetradic
#8C1895 #954E18 #219518 #186095
square
#8C1895 #954E18 #219518 #186095
split-complementary
#8C1895 #609518 #18954E
monochromatic
#29072C #5A1060 #8C1895 #BE20CA #D646E1

Accessibility & contrast

On white

7.84
#8C1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8C1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1895
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1895#FFFFFF#000000##FFFFFF
##8C18951.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#355692
Tritanopia (blue-blind)
#8F3259
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8c1895;
/* rgb */ color: rgb(140, 24, 149);
/* oklch */ color: oklch(46.5% 0.200 324.8);
Tailwind
colors: {
  custom: {
    50: '#b266b5',
    500: '#8c1895',
    950: '#000000',
  },
}
SCSS
$custom: #8c1895;
$custom-light: #b266b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1895",
  "rgb": {
    "r": 140,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 295.68,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46468,
    "c": 0.20016,
    "h": 324.8
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#8C1895
secondary
#4FC246
accent
#EF3946
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C1895

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

Preview Lab → · Contrast checker → · Palette generator →

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