#8C1E9B#8C1E9B

#8C1E9B is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.200 H 322.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8C1E9B
RGBrgb(140, 30, 155)
HSLhsl(293, 68%, 36%)
HSVhsv(293, 81%, 61%)
CMYKcmyk(9.7%, 80.6%, 0%, 39.2%)
CIE-LABlab(35.74, 59.79, -43.51)
CIE-LCHlch(35.74, 73.94, 323.96°)
OKLaboklab(47.25% 0.1586 -0.1218)
OKLCHoklch(47.25% 0.2 322.5)
XYZxyz(17.1953, 8.8716, 31.8107)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1E9B #2D9B1E
analogous
#4E1E9B #8C1E9B #9B1E6C
triadic
#8C1E9B #9B8C1E #1E9B8C
tetradic
#8C1E9B #9B4E1E #2D9B1E #1E6C9B
square
#8C1E9B #9B4E1E #2D9B1E #1E6C9B
split-complementary
#8C1E9B #6C9B1E #1E9B4E
monochromatic
#2F0A34 #5E1468 #8C1E9B #BA28CE #CE55DE

Accessibility & contrast

On white

7.57
#8C1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8C1E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1E9B
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1E9B#FFFFFF#000000##FFFFFF
##8C1E9B1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#335898
Tritanopia (blue-blind)
#8E385D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8c1e9b;
/* rgb */ color: rgb(140, 30, 155);
/* oklch */ color: oklch(47.3% 0.200 322.5);
Tailwind
colors: {
  custom: {
    50: '#b269b9',
    500: '#8c1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #8c1e9b;
$custom-light: #b269b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1e9b",
  "rgb": {
    "r": 140,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 292.8,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47252,
    "c": 0.19993,
    "h": 322.5
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#8C1E9B
secondary
#60C253
accent
#EA3D52
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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