#8F1785#8F1785

#8F1785 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.190 H 332.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8F1785
RGBrgb(143, 23, 133)
HSLhsl(305, 72%, 33%)
HSVhsv(305, 84%, 56%)
CMYKcmyk(0%, 83.9%, 7%, 43.9%)
CIE-LABlab(34.29, 58.56, -32.27)
CIE-LCHlch(34.29, 66.86, 331.14°)
OKLaboklab(45.89% 0.1683 -0.0889)
OKLCHoklch(45.89% 0.19 332.1)
XYZxyz(15.8678, 8.1473, 22.9226)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1785 #178F21
analogous
#5D178F #8F1785 #8F1749
triadic
#8F1785 #858F17 #17858F
tetradic
#8F1785 #8F5D17 #178F21 #17498F
square
#8F1785 #8F5D17 #178F21 #17498F
split-complementary
#8F1785 #498F17 #178F5D
monochromatic
#260623 #5A0F54 #8F1785 #C41FB6 #E040D3

Accessibility & contrast

On white

7.99
#8F1785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F1785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1785
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1785#FFFFFF#000000##FFFFFF
##8F17851.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094688
Deuteranopia (green-blind)
#425682
Tritanopia (blue-blind)
#95284F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1785;
/* rgb */ color: rgb(143, 23, 133);
/* oklch */ color: oklch(45.9% 0.190 332.1);
Tailwind
colors: {
  custom: {
    50: '#b466a9',
    500: '#8f1785',
    950: '#000000',
  },
}
SCSS
$custom: #8f1785;
$custom-light: #b466a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1785",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 305,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45894,
    "c": 0.19032,
    "h": 332.1
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#8F1785
secondary
#41C14C
accent
#EF4839
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1785

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

Preview Lab → · Contrast checker → · Palette generator →

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