#8F2E8A#8F2E8A

#8F2E8A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.170 H 330.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8F2E8A
RGBrgb(143, 46, 138)
HSLhsl(303, 51%, 37%)
HSVhsv(303, 68%, 56%)
CMYKcmyk(0%, 67.8%, 3.5%, 43.9%)
CIE-LABlab(37.17, 51.94, -30.81)
CIE-LCHlch(37.17, 60.39, 329.32°)
OKLaboklab(48.05% 0.1469 -0.0849)
OKLCHoklch(48.05% 0.17 330)
XYZxyz(16.8920, 9.6298, 25.0089)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E8A #2E8F33
analogous
#642E8F #8F2E8A #8F2E5A
triadic
#8F2E8A #8A8F2E #2E8A8F
tetradic
#8F2E8A #8F642E #2E8F33 #2E5A8F
square
#8F2E8A #8F642E #2E8F33 #2E5A8F
split-complementary
#8F2E8A #5A8F2E #2E8F64
monochromatic
#321031 #611F5D #8F2E8A #BD3DB7 #CF69C9

Accessibility & contrast

On white

7.18
#8F2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8F2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E8A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E8A#FFFFFF#000000##FFFFFF
##8F2E8A1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#943958
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2e8a;
/* rgb */ color: rgb(143, 46, 138);
/* oklch */ color: oklch(48.1% 0.170 330.0);
Tailwind
colors: {
  custom: {
    50: '#b36fac',
    500: '#8f2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e8a;
$custom-light: #b36fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e8a",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 303.093,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48051,
    "c": 0.16969,
    "h": 330
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#8F2E8A
secondary
#63B667
accent
#DB544D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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