#8F2186#8F2186

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

Color values

HEX#8F2186
RGBrgb(143, 33, 134)
HSLhsl(305, 63%, 35%)
HSVhsv(305, 77%, 56%)
CMYKcmyk(0%, 76.9%, 6.3%, 43.9%)
CIE-LABlab(35.30, 55.95, -31.29)
CIE-LCHlch(35.30, 64.11, 330.78°)
OKLaboklab(46.64% 0.1603 -0.0861)
OKLCHoklch(46.64% 0.182 331.7)
XYZxyz(16.1746, 8.6499, 23.3674)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2186 #218F2A
analogous
#61218F #8F2186 #8F214F
triadic
#8F2186 #868F21 #21868F
tetradic
#8F2186 #8F6121 #218F2A #214F8F
square
#8F2186 #8F6121 #218F2A #214F8F
split-complementary
#8F2186 #4F8F21 #218F61
monochromatic
#2C0A29 #5D1657 #8F2186 #C12CB5 #D753CD

Accessibility & contrast

On white

7.69
#8F2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8F2186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2186
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2186#FFFFFF#000000##FFFFFF
##8F21861.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184989
Deuteranopia (green-blind)
#455883
Tritanopia (blue-blind)
#952E52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2186;
/* rgb */ color: rgb(143, 33, 134);
/* oklch */ color: oklch(46.6% 0.182 331.7);
Tailwind
colors: {
  custom: {
    50: '#b369a9',
    500: '#8f2186',
    950: '#000000',
  },
}
SCSS
$custom: #8f2186;
$custom-light: #b369a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2186",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 304.909,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46636,
    "c": 0.18194,
    "h": 331.7
  },
  "luminance": 0.08649
}

Semantic roles & 50–950 ramp

primary
#8F2186
secondary
#51BB5A
accent
#E65042
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2186

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

Preview Lab → · Contrast checker → · Palette generator →

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