#8F1B85#8F1B85

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

Color values

HEX#8F1B85
RGBrgb(143, 27, 133)
HSLhsl(305, 68%, 33%)
HSVhsv(305, 81%, 56%)
CMYKcmyk(0%, 81.1%, 7%, 43.9%)
CIE-LABlab(34.64, 57.54, -31.72)
CIE-LCHlch(34.64, 65.71, 331.13°)
OKLaboklab(46.14% 0.1653 -0.0874)
OKLCHoklch(46.14% 0.187 332.1)
XYZxyz(15.9533, 8.3183, 22.9511)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B85 #1B8F25
analogous
#5F1B8F #8F1B85 #8F1B4B
triadic
#8F1B85 #858F1B #1B858F
tetradic
#8F1B85 #8F5F1B #1B8F25 #1B4B8F
square
#8F1B85 #8F5F1B #1B8F25 #1B4B8F
split-complementary
#8F1B85 #4B8F1B #1B8F5F
monochromatic
#280825 #5C1155 #8F1B85 #C225B5 #DC48D0

Accessibility & contrast

On white

7.88
#8F1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B85
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B85#FFFFFF#000000##FFFFFF
##8F1B851.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1b85;
/* rgb */ color: rgb(143, 27, 133);
/* oklch */ color: oklch(46.1% 0.187 332.1);
Tailwind
colors: {
  custom: {
    50: '#b467a9',
    500: '#8f1b85',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b85;
$custom-light: #b467a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b85",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 305.172,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46143,
    "c": 0.18698,
    "h": 332.1
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#8F1B85
secondary
#48BE52
accent
#EB4C3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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