#8F2180#8F2180

#8F2180 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.177 H 334.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8F2180
RGBrgb(143, 33, 128)
HSLhsl(308, 63%, 35%)
HSVhsv(308, 77%, 56%)
CMYKcmyk(0%, 76.9%, 10.5%, 43.9%)
CIE-LABlab(34.98, 55.00, -28.07)
CIE-LCHlch(34.98, 61.75, 332.96°)
OKLaboklab(46.3% 0.16 -0.0769)
OKLCHoklch(46.3% 0.177 334.3)
XYZxyz(15.7680, 8.4873, 21.2256)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2180 #218F30
analogous
#67218F #8F2180 #8F2149
triadic
#8F2180 #808F21 #21808F
tetradic
#8F2180 #8F6721 #218F30 #21498F
square
#8F2180 #8F6721 #218F30 #21498F
split-complementary
#8F2180 #498F21 #218F67
monochromatic
#2C0A27 #5D1653 #8F2180 #C12CAD #D753C5

Accessibility & contrast

On white

7.79
#8F2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2180
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2180#FFFFFF#000000##FFFFFF
##8F21801.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4883
Deuteranopia (green-blind)
#48587D
Tritanopia (blue-blind)
#962B4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2180;
/* rgb */ color: rgb(143, 33, 128);
/* oklch */ color: oklch(46.3% 0.177 334.3);
Tailwind
colors: {
  custom: {
    50: '#b369a5',
    500: '#8f2180',
    950: '#000000',
  },
}
SCSS
$custom: #8f2180;
$custom-light: #b369a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2180",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 308.182,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46299,
    "c": 0.17747,
    "h": 334.3
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#8F2180
secondary
#51BB5F
accent
#E65942
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F2180

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

Preview Lab → · Contrast checker → · Palette generator →

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