#8F2185#8F2185

#8F2185 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.181 H 332.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8F2185
RGBrgb(143, 33, 133)
HSLhsl(305, 63%, 35%)
HSVhsv(305, 77%, 56%)
CMYKcmyk(0%, 76.9%, 7%, 43.9%)
CIE-LABlab(35.25, 55.79, -30.76)
CIE-LCHlch(35.25, 63.71, 331.13°)
OKLaboklab(46.58% 0.1602 -0.0846)
OKLCHoklch(46.58% 0.181 332.2)
XYZxyz(16.1052, 8.6222, 23.0018)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2185 #218F2B
analogous
#62218F #8F2185 #8F214E
triadic
#8F2185 #858F21 #21858F
tetradic
#8F2185 #8F6221 #218F2B #214E8F
square
#8F2185 #8F6221 #218F2B #214E8F
split-complementary
#8F2185 #4E8F21 #218F62
monochromatic
#2C0A29 #5D1657 #8F2185 #C12CB3 #D753CB

Accessibility & contrast

On white

7.71
#8F2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2185
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2185#FFFFFF#000000##FFFFFF
##8F21851.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194988
Deuteranopia (green-blind)
#465882
Tritanopia (blue-blind)
#952E51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2185;
/* rgb */ color: rgb(143, 33, 133);
/* oklch */ color: oklch(46.6% 0.181 332.2);
Tailwind
colors: {
  custom: {
    50: '#b369a9',
    500: '#8f2185',
    950: '#000000',
  },
}
SCSS
$custom: #8f2185;
$custom-light: #b369a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2185",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 305.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46579,
    "c": 0.18118,
    "h": 332.2
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#8F2185
secondary
#51BB5B
accent
#E65142
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2185

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

Preview Lab → · Contrast checker → · Palette generator →

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