#8F2E82#8F2E82

#8F2E82 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.163 H 333.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8F2E82
RGBrgb(143, 46, 130)
HSLhsl(308, 51%, 37%)
HSVhsv(308, 68%, 56%)
CMYKcmyk(0%, 67.8%, 9.1%, 43.9%)
CIE-LABlab(36.76, 50.59, -26.53)
CIE-LCHlch(36.76, 57.12, 332.33°)
OKLaboklab(47.62% 0.1462 -0.0725)
OKLCHoklch(47.62% 0.163 333.6)
XYZxyz(16.3340, 9.4066, 22.0701)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E82 #2E8F3B
analogous
#6C2E8F #8F2E82 #8F2E52
triadic
#8F2E82 #828F2E #2E828F
tetradic
#8F2E82 #8F6C2E #2E8F3B #2E528F
square
#8F2E82 #8F6C2E #2E8F3B #2E528F
split-complementary
#8F2E82 #528F2E #2E8F6C
monochromatic
#32102E #611F58 #8F2E82 #BD3DAC #CF69C1

Accessibility & contrast

On white

7.29
#8F2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8F2E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E82
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E82#FFFFFF#000000##FFFFFF
##8F2E821.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D84
Deuteranopia (green-blind)
#4D5C80
Tritanopia (blue-blind)
#963654
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2e82;
/* rgb */ color: rgb(143, 46, 130);
/* oklch */ color: oklch(47.6% 0.163 333.6);
Tailwind
colors: {
  custom: {
    50: '#b36fa6',
    500: '#8f2e82',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e82;
$custom-light: #b36fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e82",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 308.041,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47616,
    "c": 0.16323,
    "h": 333.6
  },
  "luminance": 0.09405
}

Semantic roles & 50–950 ramp

primary
#8F2E82
secondary
#63B66E
accent
#DB604D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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