#8F2B8A#8F2B8A

#8F2B8A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.174 H 330.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8F2B8A
RGBrgb(143, 43, 138)
HSLhsl(303, 54%, 36%)
HSVhsv(303, 70%, 56%)
CMYKcmyk(0%, 69.9%, 3.5%, 43.9%)
CIE-LABlab(36.75, 53.12, -31.47)
CIE-LCHlch(36.75, 61.74, 329.35°)
OKLaboklab(47.75% 0.1503 -0.0868)
OKLCHoklch(47.75% 0.174 330)
XYZxyz(16.7789, 9.4036, 24.9712)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B8A #2B8F30
analogous
#622B8F #8F2B8A #8F2B58
triadic
#8F2B8A #8A8F2B #2B8A8F
tetradic
#8F2B8A #8F622B #2B8F30 #2B588F
square
#8F2B8A #8F622B #2B8F30 #2B588F
split-complementary
#8F2B8A #588F2B #2B8F62
monochromatic
#310F2F #601D5D #8F2B8A #BE39B7 #D064CB

Accessibility & contrast

On white

7.29
#8F2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8F2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B8A
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B8A#FFFFFF#000000##FFFFFF
##8F2B8A1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8D
Deuteranopia (green-blind)
#475B87
Tritanopia (blue-blind)
#943757
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2b8a;
/* rgb */ color: rgb(143, 43, 138);
/* oklch */ color: oklch(47.7% 0.174 330.0);
Tailwind
colors: {
  custom: {
    50: '#b36eac',
    500: '#8f2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b8a;
$custom-light: #b36eac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b8a",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 303,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.17356,
    "h": 330
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#8F2B8A
secondary
#5FB764
accent
#DD524B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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