#8F2E86#8F2E86

#8F2E86 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.166 H 331.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8F2E86
RGBrgb(143, 46, 134)
HSLhsl(306, 51%, 37%)
HSVhsv(306, 68%, 56%)
CMYKcmyk(0%, 67.8%, 6.3%, 43.9%)
CIE-LABlab(36.96, 51.26, -28.68)
CIE-LCHlch(36.96, 58.73, 330.77°)
OKLaboklab(47.83% 0.1466 -0.0787)
OKLCHoklch(47.83% 0.166 331.8)
XYZxyz(16.6078, 9.5161, 23.5117)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E86 #2E8F37
analogous
#682E8F #8F2E86 #8F2E56
triadic
#8F2E86 #868F2E #2E868F
tetradic
#8F2E86 #8F682E #2E8F37 #2E568F
square
#8F2E86 #8F682E #2E8F37 #2E568F
split-complementary
#8F2E86 #568F2E #2E8F68
monochromatic
#32102F #611F5B #8F2E86 #BD3DB1 #CF69C5

Accessibility & contrast

On white

7.23
#8F2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8F2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E86
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E86#FFFFFF#000000##FFFFFF
##8F2E861.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E89
Deuteranopia (green-blind)
#4B5C84
Tritanopia (blue-blind)
#953856
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2e86;
/* rgb */ color: rgb(143, 46, 134);
/* oklch */ color: oklch(47.8% 0.166 331.8);
Tailwind
colors: {
  custom: {
    50: '#b36fa9',
    500: '#8f2e86',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e86;
$custom-light: #b36fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e86",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 305.567,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.16642,
    "h": 331.8
  },
  "luminance": 0.09515
}

Semantic roles & 50–950 ramp

primary
#8F2E86
secondary
#63B66B
accent
#DB5A4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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