#8C1283#8C1283

#8C1283 is a mid, vivid purple. Relative luminance 0.076; OKLCH L 45.0% C 0.191 H 331.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8C1283
RGBrgb(140, 18, 131)
HSLhsl(304, 77%, 31%)
HSVhsv(304, 87%, 55%)
CMYKcmyk(0%, 87.1%, 6.4%, 45.1%)
CIE-LABlab(33.24, 58.73, -32.73)
CIE-LCHlch(33.24, 67.24, 330.87°)
OKLaboklab(45.01% 0.1684 -0.0903)
OKLCHoklch(45.01% 0.191 331.8)
XYZxyz(15.1283, 7.6481, 22.1478)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1283 #128C1B
analogous
#58128C #8C1283 #8C1246
triadic
#8C1283 #838C12 #12838C
tetradic
#8C1283 #8C5812 #128C1B #12468C
square
#8C1283 #8C5812 #128C1B #12468C
split-complementary
#8C1283 #468C12 #128C58
monochromatic
#20041E #560B50 #8C1283 #C219B6 #E534D8

Accessibility & contrast

On white

8.30
#8C1283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8C1283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1283
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1283#FFFFFF#000000##FFFFFF
##8C12831.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004486
Deuteranopia (green-blind)
#3F5480
Tritanopia (blue-blind)
#92254D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c1283;
/* rgb */ color: rgb(140, 18, 131);
/* oklch */ color: oklch(45.0% 0.191 331.8);
Tailwind
colors: {
  custom: {
    50: '#b264a7',
    500: '#8c1283',
    950: '#000000',
  },
}
SCSS
$custom: #8c1283;
$custom-light: #b264a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1283",
  "rgb": {
    "r": 140,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 304.426,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.19111,
    "h": 331.8
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#8C1283
secondary
#39C043
accent
#F44234
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8C1283

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

Preview Lab → · Contrast checker → · Palette generator →

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