#8F2A9B#8F2A9B

#8F2A9B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.189 H 323.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8F2A9B
RGBrgb(143, 42, 155)
HSLhsl(294, 57%, 39%)
HSVhsv(294, 73%, 61%)
CMYKcmyk(7.7%, 72.9%, 0%, 39.2%)
CIE-LABlab(37.60, 56.50, -40.50)
CIE-LCHlch(37.60, 69.51, 324.36°)
OKLaboklab(48.67% 0.1514 -0.113)
OKLCHoklch(48.67% 0.189 323.3)
XYZxyz(18.0715, 9.8632, 31.9559)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A9B #369B2A
analogous
#562A9B #8F2A9B #9B2A6E
triadic
#8F2A9B #9B8F2A #2A9B8F
tetradic
#8F2A9B #9B562A #369B2A #2A6E9B
square
#8F2A9B #9B562A #369B2A #2A6E9B
split-complementary
#8F2A9B #6E9B2A #2A9B56
monochromatic
#36103B #631D6B #8F2A9B #BA39C9 #CB69D6

Accessibility & contrast

On white

7.06
#8F2A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8F2A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A9B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A9B#FFFFFF#000000##FFFFFF
##8F2A9B1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#3D5C98
Tritanopia (blue-blind)
#913E60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2a9b;
/* rgb */ color: rgb(143, 42, 155);
/* oklch */ color: oklch(48.7% 0.189 323.3);
Tailwind
colors: {
  custom: {
    50: '#b36eb9',
    500: '#8f2a9b',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a9b;
$custom-light: #b36eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a9b",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 293.628,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4867,
    "c": 0.18894,
    "h": 323.3
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#8F2A9B
secondary
#6DBD64
accent
#E14757
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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