#8F2B82#8F2B82

#8F2B82 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.167 H 333.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8F2B82
RGBrgb(143, 43, 130)
HSLhsl(308, 54%, 36%)
HSVhsv(308, 70%, 56%)
CMYKcmyk(0%, 69.9%, 9.1%, 43.9%)
CIE-LABlab(36.33, 51.78, -27.19)
CIE-LCHlch(36.33, 58.49, 332.29°)
OKLaboklab(47.31% 0.1497 -0.0744)
OKLCHoklch(47.31% 0.167 333.6)
XYZxyz(16.2209, 9.1804, 22.0324)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B82 #2B8F38
analogous
#6A2B8F #8F2B82 #8F2B50
triadic
#8F2B82 #828F2B #2B828F
tetradic
#8F2B82 #8F6A2B #2B8F38 #2B508F
square
#8F2B82 #8F6A2B #2B8F38 #2B508F
split-complementary
#8F2B82 #508F2B #2B8F6A
monochromatic
#310F2C #601D57 #8F2B82 #BE39AD #D064C2

Accessibility & contrast

On white

7.41
#8F2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8F2B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B82
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B82#FFFFFF#000000##FFFFFF
##8F2B821.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#4B5B80
Tritanopia (blue-blind)
#963453
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2b82;
/* rgb */ color: rgb(143, 43, 130);
/* oklch */ color: oklch(47.3% 0.167 333.6);
Tailwind
colors: {
  custom: {
    50: '#b36da6',
    500: '#8f2b82',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b82;
$custom-light: #b36da6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b82",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 307.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47307,
    "c": 0.1672,
    "h": 333.6
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#8F2B82
secondary
#5FB76B
accent
#DD5E4B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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