#8F2A94#8F2A94

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

Color values

HEX#8F2A94
RGBrgb(143, 42, 148)
HSLhsl(297, 56%, 37%)
HSVhsv(297, 72%, 58%)
CMYKcmyk(3.4%, 71.6%, 0%, 42%)
CIE-LABlab(37.18, 55.23, -36.92)
CIE-LCHlch(37.18, 66.43, 326.24°)
OKLaboklab(48.24% 0.1516 -0.1025)
OKLCHoklch(48.24% 0.183 325.9)
XYZxyz(17.5006, 9.6348, 28.9492)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A94 #2F942A
analogous
#5A2A94 #8F2A94 #942A64
triadic
#8F2A94 #948F2A #2A948F
tetradic
#8F2A94 #945A2A #2F942A #2A6494
square
#8F2A94 #945A2A #2F942A #2A6494
split-complementary
#8F2A94 #64942A #2A945A
monochromatic
#330F35 #611C64 #8F2A94 #BD38C4 #CE65D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2A94#FFFFFF#000000##FFFFFF
##8F2A941.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)
#114F97
Deuteranopia (green-blind)
#415C91
Tritanopia (blue-blind)
#933B5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2a94;
/* rgb */ color: rgb(143, 42, 148);
/* oklch */ color: oklch(48.2% 0.183 325.9);
Tailwind
colors: {
  custom: {
    50: '#b36eb4',
    500: '#8f2a94',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a94;
$custom-light: #b36eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a94",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 297.17,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48238,
    "c": 0.18303,
    "h": 325.9
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#8F2A94
secondary
#65B960
accent
#DF4950
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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