#8F2E83#8F2E83

#8F2E83 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.164 H 333.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8F2E83
RGBrgb(143, 46, 131)
HSLhsl(307, 51%, 37%)
HSVhsv(307, 68%, 56%)
CMYKcmyk(0%, 67.8%, 8.4%, 43.9%)
CIE-LABlab(36.81, 50.76, -27.07)
CIE-LCHlch(36.81, 57.52, 331.93°)
OKLaboklab(47.67% 0.1463 -0.0741)
OKLCHoklch(47.67% 0.164 333.2)
XYZxyz(16.4015, 9.4336, 22.4254)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E83 #2E8F3A
analogous
#6B2E8F #8F2E83 #8F2E52
triadic
#8F2E83 #838F2E #2E838F
tetradic
#8F2E83 #8F6B2E #2E8F3A #2E528F
square
#8F2E83 #8F6B2E #2E8F3A #2E528F
split-complementary
#8F2E83 #528F2E #2E8F6B
monochromatic
#32102E #611F59 #8F2E83 #BD3DAD #CF69C2

Accessibility & contrast

On white

7.28
#8F2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8F2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E83
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E83#FFFFFF#000000##FFFFFF
##8F2E831.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E85
Deuteranopia (green-blind)
#4C5C81
Tritanopia (blue-blind)
#953654
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2e83;
/* rgb */ color: rgb(143, 46, 131);
/* oklch */ color: oklch(47.7% 0.164 333.2);
Tailwind
colors: {
  custom: {
    50: '#b36fa7',
    500: '#8f2e83',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e83;
$custom-light: #b36fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e83",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 307.423,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47669,
    "c": 0.16402,
    "h": 333.2
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#8F2E83
secondary
#63B66D
accent
#DB5F4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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