#8F1B82#8F1B82

#8F1B82 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.185 H 333.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8F1B82
RGBrgb(143, 27, 130)
HSLhsl(307, 68%, 33%)
HSVhsv(307, 81%, 56%)
CMYKcmyk(0%, 81.1%, 9.1%, 43.9%)
CIE-LABlab(34.47, 57.08, -30.12)
CIE-LCHlch(34.47, 64.54, 332.18°)
OKLaboklab(45.97% 0.1653 -0.0827)
OKLCHoklch(45.97% 0.185 333.4)
XYZxyz(15.7490, 8.2366, 21.8751)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B82 #1B8F28
analogous
#621B8F #8F1B82 #8F1B48
triadic
#8F1B82 #828F1B #1B828F
tetradic
#8F1B82 #8F621B #1B8F28 #1B488F
square
#8F1B82 #8F621B #1B8F28 #1B488F
split-complementary
#8F1B82 #488F1B #1B8F62
monochromatic
#280824 #5C1153 #8F1B82 #C225B1 #DC48CC

Accessibility & contrast

On white

7.93
#8F1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1B82
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B82#FFFFFF#000000##FFFFFF
##8F1B821.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154785
Deuteranopia (green-blind)
#45577F
Tritanopia (blue-blind)
#96284E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1b82;
/* rgb */ color: rgb(143, 27, 130);
/* oklch */ color: oklch(46.0% 0.185 333.4);
Tailwind
colors: {
  custom: {
    50: '#b467a6',
    500: '#8f1b82',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b82;
$custom-light: #b467a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b82",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 306.724,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4597,
    "c": 0.1848,
    "h": 333.4
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#8F1B82
secondary
#48BE55
accent
#EB503D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F1B82

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

Preview Lab → · Contrast checker → · Palette generator →

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