#8F2C94#8F2C94

#8F2C94 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.181 H 325.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8F2C94
RGBrgb(143, 44, 148)
HSLhsl(297, 54%, 38%)
HSVhsv(297, 70%, 58%)
CMYKcmyk(3.4%, 70.3%, 0%, 42%)
CIE-LABlab(37.45, 54.48, -36.49)
CIE-LCHlch(37.45, 65.57, 326.18°)
OKLaboklab(48.43% 0.1495 -0.1013)
OKLCHoklch(48.43% 0.181 325.9)
XYZxyz(17.5733, 9.7803, 28.9734)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C94 #31942C
analogous
#5B2C94 #8F2C94 #942C65
triadic
#8F2C94 #948F2C #2C948F
tetradic
#8F2C94 #945B2C #31942C #2C6594
square
#8F2C94 #945B2C #31942C #2C6594
split-complementary
#8F2C94 #65942C #2C945B
monochromatic
#341036 #611E65 #8F2C94 #BD3AC3 #CD68D2

Accessibility & contrast

On white

7.10
#8F2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2C94
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C94#FFFFFF#000000##FFFFFF
##8F2C941.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155097
Deuteranopia (green-blind)
#425C91
Tritanopia (blue-blind)
#933C5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2c94;
/* rgb */ color: rgb(143, 44, 148);
/* oklch */ color: oklch(48.4% 0.181 325.9);
Tailwind
colors: {
  custom: {
    50: '#b36eb4',
    500: '#8f2c94',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c94;
$custom-light: #b36eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c94",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 297.115,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48429,
    "c": 0.18061,
    "h": 325.9
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#8F2C94
secondary
#67B963
accent
#DE4A51
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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