#8F1783#8F1783

#8F1783 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.189 H 333.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8F1783
RGBrgb(143, 23, 131)
HSLhsl(306, 72%, 33%)
HSVhsv(306, 84%, 56%)
CMYKcmyk(0%, 83.9%, 8.4%, 43.9%)
CIE-LABlab(34.17, 58.25, -31.21)
CIE-LCHlch(34.17, 66.08, 331.82°)
OKLaboklab(45.78% 0.1683 -0.0858)
OKLCHoklch(45.78% 0.189 333)
XYZxyz(15.7309, 8.0925, 22.2018)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1783 #178F23
analogous
#5F178F #8F1783 #8F1747
triadic
#8F1783 #838F17 #17838F
tetradic
#8F1783 #8F5F17 #178F23 #17478F
square
#8F1783 #8F5F17 #178F23 #17478F
split-complementary
#8F1783 #478F17 #178F5F
monochromatic
#260622 #5A0F53 #8F1783 #C41FB3 #E040D0

Accessibility & contrast

On white

8.02
#8F1783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F1783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1783
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1783#FFFFFF#000000##FFFFFF
##8F17831.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4686
Deuteranopia (green-blind)
#435680
Tritanopia (blue-blind)
#96274E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1783;
/* rgb */ color: rgb(143, 23, 131);
/* oklch */ color: oklch(45.8% 0.189 333.0);
Tailwind
colors: {
  custom: {
    50: '#b466a7',
    500: '#8f1783',
    950: '#000000',
  },
}
SCSS
$custom: #8f1783;
$custom-light: #b466a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1783",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 306,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.1889,
    "h": 333
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#8F1783
secondary
#41C14E
accent
#EF4B39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1783

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

Preview Lab → · Contrast checker → · Palette generator →

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