#8F2686#8F2686

#8F2686 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.176 H 331.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8F2686
RGBrgb(143, 38, 134)
HSLhsl(305, 58%, 35%)
HSVhsv(305, 73%, 56%)
CMYKcmyk(0%, 73.4%, 6.3%, 43.9%)
CIE-LABlab(35.88, 54.29, -30.37)
CIE-LCHlch(35.88, 62.20, 330.78°)
OKLaboklab(47.05% 0.1554 -0.0835)
OKLCHoklch(47.05% 0.176 331.7)
XYZxyz(16.3239, 8.9484, 23.4171)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2686 #268F2F
analogous
#63268F #8F2686 #8F2651
triadic
#8F2686 #868F26 #26868F
tetradic
#8F2686 #8F6326 #268F2F #26518F
square
#8F2686 #8F6326 #268F2F #26518F
split-complementary
#8F2686 #518F26 #268F63
monochromatic
#2E0C2B #5F1959 #8F2686 #BF33B3 #D45CC9

Accessibility & contrast

On white

7.53
#8F2686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8F2686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2686
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2686#FFFFFF#000000##FFFFFF
##8F26861.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#475A83
Tritanopia (blue-blind)
#953253
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2686;
/* rgb */ color: rgb(143, 38, 134);
/* oklch */ color: oklch(47.1% 0.176 331.7);
Tailwind
colors: {
  custom: {
    50: '#b36ba9',
    500: '#8f2686',
    950: '#000000',
  },
}
SCSS
$custom: #8f2686;
$custom-light: #b36ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2686",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 305.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47054,
    "c": 0.17644,
    "h": 331.7
  },
  "luminance": 0.08947
}

Semantic roles & 50–950 ramp

primary
#8F2686
secondary
#58B960
accent
#E15447
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2686

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

Preview Lab → · Contrast checker → · Palette generator →

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