#8C1285#8C1285

#8C1285 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.193 H 331.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8C1285
RGBrgb(140, 18, 133)
HSLhsl(303, 77%, 31%)
HSVhsv(303, 87%, 55%)
CMYKcmyk(0%, 87.1%, 5%, 45.1%)
CIE-LABlab(33.36, 59.04, -33.79)
CIE-LCHlch(33.36, 68.03, 330.22°)
OKLaboklab(45.13% 0.1684 -0.0934)
OKLCHoklch(45.13% 0.193 331)
XYZxyz(15.2652, 7.7028, 22.8686)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1285 #128C19
analogous
#56128C #8C1285 #8C1248
triadic
#8C1285 #858C12 #12858C
tetradic
#8C1285 #8C5612 #128C19 #12488C
square
#8C1285 #8C5612 #128C19 #12488C
split-complementary
#8C1285 #488C12 #128C56
monochromatic
#20041E #560B51 #8C1285 #C219B9 #E534DB

Accessibility & contrast

On white

8.27
#8C1285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8C1285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1285
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1285#FFFFFF#000000##FFFFFF
##8C12851.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#3E5482
Tritanopia (blue-blind)
#92264E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c1285;
/* rgb */ color: rgb(140, 18, 133);
/* oklch */ color: oklch(45.1% 0.193 331.0);
Tailwind
colors: {
  custom: {
    50: '#b264a9',
    500: '#8c1285',
    950: '#000000',
  },
}
SCSS
$custom: #8c1285;
$custom-light: #b264a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1285",
  "rgb": {
    "r": 140,
    "g": 18,
    "b": 133
  },
  "hsl": {
    "h": 303.443,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.45129,
    "c": 0.19254,
    "h": 331
  },
  "luminance": 0.07702
}

Semantic roles & 50–950 ramp

primary
#8C1285
secondary
#39C041
accent
#F43F34
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8C1285

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

Preview Lab → · Contrast checker → · Palette generator →

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