#8F2182#8F2182

#8F2182 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.179 H 333.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8F2182
RGBrgb(143, 33, 130)
HSLhsl(307, 63%, 35%)
HSVhsv(307, 77%, 56%)
CMYKcmyk(0%, 76.9%, 9.1%, 43.9%)
CIE-LABlab(35.08, 55.32, -29.15)
CIE-LCHlch(35.08, 62.53, 332.21°)
OKLaboklab(46.41% 0.1601 -0.08)
OKLCHoklch(46.41% 0.179 333.5)
XYZxyz(15.9009, 8.5404, 21.9258)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2182 #218F2E
analogous
#65218F #8F2182 #8F214B
triadic
#8F2182 #828F21 #21828F
tetradic
#8F2182 #8F6521 #218F2E #214B8F
square
#8F2182 #8F6521 #218F2E #214B8F
split-complementary
#8F2182 #4B8F21 #218F65
monochromatic
#2C0A28 #5D1655 #8F2182 #C12CAF #D753C8

Accessibility & contrast

On white

7.76
#8F2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8F2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2182
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2182#FFFFFF#000000##FFFFFF
##8F21821.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4885
Deuteranopia (green-blind)
#47587F
Tritanopia (blue-blind)
#962C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2182;
/* rgb */ color: rgb(143, 33, 130);
/* oklch */ color: oklch(46.4% 0.179 333.5);
Tailwind
colors: {
  custom: {
    50: '#b369a6',
    500: '#8f2182',
    950: '#000000',
  },
}
SCSS
$custom: #8f2182;
$custom-light: #b369a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2182",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 307.091,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.17895,
    "h": 333.5
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#8F2182
secondary
#51BB5D
accent
#E65642
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F2182

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

Preview Lab → · Contrast checker → · Palette generator →

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