#8F2894#8F2894

#8F2894 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.185 H 326.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8F2894
RGBrgb(143, 40, 148)
HSLhsl(297, 57%, 37%)
HSVhsv(297, 73%, 58%)
CMYKcmyk(3.4%, 73%, 0%, 42%)
CIE-LABlab(36.92, 55.96, -37.32)
CIE-LCHlch(36.92, 67.26, 326.30°)
OKLaboklab(48.05% 0.1536 -0.1037)
OKLCHoklch(48.05% 0.185 326)
XYZxyz(17.4314, 9.4965, 28.9261)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2894 #2D9428
analogous
#592894 #8F2894 #942863
triadic
#8F2894 #948F28 #28948F
tetradic
#8F2894 #945928 #2D9428 #286394
square
#8F2894 #945928 #2D9428 #286394
split-complementary
#8F2894 #639428 #289459
monochromatic
#320E34 #601B64 #8F2894 #BE35C4 #CF62D5

Accessibility & contrast

On white

7.24
#8F2894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8F2894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2894
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2894#FFFFFF#000000##FFFFFF
##8F28941.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4F97
Deuteranopia (green-blind)
#405B91
Tritanopia (blue-blind)
#933A5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2894;
/* rgb */ color: rgb(143, 40, 148);
/* oklch */ color: oklch(48.1% 0.185 326.0);
Tailwind
colors: {
  custom: {
    50: '#b36db4',
    500: '#8f2894',
    950: '#000000',
  },
}
SCSS
$custom: #8f2894;
$custom-light: #b36db4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2894",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 297.222,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48054,
    "c": 0.18537,
    "h": 326
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#8F2894
secondary
#62BA5E
accent
#E1474E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2894

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

Preview Lab → · Contrast checker → · Palette generator →

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