#8F1A85#8F1A85

#8F1A85 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.188 H 332.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8F1A85
RGBrgb(143, 26, 133)
HSLhsl(305, 69%, 33%)
HSVhsv(305, 82%, 56%)
CMYKcmyk(0%, 81.8%, 7%, 43.9%)
CIE-LABlab(34.55, 57.81, -31.87)
CIE-LCHlch(34.55, 66.01, 331.14°)
OKLaboklab(46.08% 0.1661 -0.0878)
OKLCHoklch(46.08% 0.188 332.1)
XYZxyz(15.9308, 8.2733, 22.9436)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A85 #1A8F24
analogous
#5E1A8F #8F1A85 #8F1A4A
triadic
#8F1A85 #858F1A #1A858F
tetradic
#8F1A85 #8F5E1A #1A8F24 #1A4A8F
square
#8F1A85 #8F5E1A #1A8F24 #1A4A8F
split-complementary
#8F1A85 #4A8F1A #1A8F5E
monochromatic
#270725 #5B1155 #8F1A85 #C323B5 #DD46D0

Accessibility & contrast

On white

7.91
#8F1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A85
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A85#FFFFFF#000000##FFFFFF
##8F1A851.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4788
Deuteranopia (green-blind)
#435782
Tritanopia (blue-blind)
#952A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1a85;
/* rgb */ color: rgb(143, 26, 133);
/* oklch */ color: oklch(46.1% 0.188 332.1);
Tailwind
colors: {
  custom: {
    50: '#b467a9',
    500: '#8f1a85',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a85;
$custom-light: #b467a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a85",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 305.128,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46078,
    "c": 0.18785,
    "h": 332.1
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#8F1A85
secondary
#46BF50
accent
#EC4B3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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