#8F2E8F#8F2E8F

#8F2E8F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.174 H 327.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8F2E8F
RGBrgb(143, 46, 143)
HSLhsl(300, 51%, 37%)
HSVhsv(300, 68%, 56%)
CMYKcmyk(0%, 67.8%, 0%, 43.9%)
CIE-LABlab(37.44, 52.81, -33.45)
CIE-LCHlch(37.44, 62.51, 327.65°)
OKLaboklab(48.33% 0.1472 -0.0925)
OKLCHoklch(48.33% 0.174 327.9)
XYZxyz(17.2624, 9.7780, 26.9594)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E8F #2E8F2E
analogous
#5F2E8F #8F2E8F #8F2E5F
triadic
#8F2E8F #8F8F2E #2E8F8F
tetradic
#8F2E8F #8F5F2E #2E8F2E #2E5F8F
square
#8F2E8F #8F5F2E #2E8F2E #2E5F8F
split-complementary
#8F2E8F #5F8F2E #2E8F5F
monochromatic
#321032 #611F61 #8F2E8F #BD3DBD #CF69CF

Accessibility & contrast

On white

7.11
#8F2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8F2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E8F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E8F#FFFFFF#000000##FFFFFF
##8F2E8F1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205092
Deuteranopia (green-blind)
#465D8C
Tritanopia (blue-blind)
#933B5B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2e8f;
/* rgb */ color: rgb(143, 46, 143);
/* oklch */ color: oklch(48.3% 0.174 327.9);
Tailwind
colors: {
  custom: {
    50: '#b36fb0',
    500: '#8f2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e8f;
$custom-light: #b36fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e8f",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48334,
    "c": 0.17385,
    "h": 327.9
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#8F2E8F
secondary
#63B663
accent
#DB4D4D
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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