#8E1283#8E1283

#8E1283 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.192 H 332.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8E1283
RGBrgb(142, 18, 131)
HSLhsl(305, 78%, 31%)
HSVhsv(305, 87%, 56%)
CMYKcmyk(0%, 87.3%, 7.7%, 44.3%)
CIE-LABlab(33.61, 59.14, -32.11)
CIE-LCHlch(33.61, 67.29, 331.50°)
OKLaboklab(45.34% 0.1705 -0.0885)
OKLCHoklch(45.34% 0.192 332.6)
XYZxyz(15.4685, 7.8235, 22.1637)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1283 #128E1D
analogous
#5B128E #8E1283 #8E1245
triadic
#8E1283 #838E12 #12838E
tetradic
#8E1283 #8E5B12 #128E1D #12458E
square
#8E1283 #8E5B12 #128E1D #12458E
split-complementary
#8E1283 #458E12 #128E5B
monochromatic
#21041F #580B51 #8E1283 #C419B5 #E535D6

Accessibility & contrast

On white

8.19
#8E1283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E1283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1283
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1283#FFFFFF#000000##FFFFFF
##8E12831.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034486
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#95244D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1283;
/* rgb */ color: rgb(142, 18, 131);
/* oklch */ color: oklch(45.3% 0.192 332.6);
Tailwind
colors: {
  custom: {
    50: '#b364a7',
    500: '#8e1283',
    950: '#000000',
  },
}
SCSS
$custom: #8e1283;
$custom-light: #b364a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1283",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 305.323,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45342,
    "c": 0.19205,
    "h": 332.6
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#8E1283
secondary
#3AC246
accent
#F44534
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1283

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

Preview Lab → · Contrast checker → · Palette generator →

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