#8F2B9C#8F2B9C

#8F2B9C is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.189 H 322.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8F2B9C
RGBrgb(143, 43, 156)
HSLhsl(293, 57%, 39%)
HSVhsv(293, 72%, 61%)
CMYKcmyk(8.3%, 72.4%, 0%, 38.8%)
CIE-LABlab(37.79, 56.31, -40.81)
CIE-LCHlch(37.79, 69.54, 324.07°)
OKLaboklab(48.83% 0.1504 -0.1139)
OKLCHoklch(48.83% 0.189 322.9)
XYZxyz(18.1917, 9.9687, 32.4120)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B9C #389C2B
analogous
#572B9C #8F2B9C #9C2B71
triadic
#8F2B9C #9C8F2B #2B9C8F
tetradic
#8F2B9C #9C572B #389C2B #2B719C
square
#8F2B9C #9C572B #389C2B #2B719C
split-complementary
#8F2B9C #719C2B #2B9C57
monochromatic
#37113C #631E6C #8F2B9C #B93BC9 #CA6BD6

Accessibility & contrast

On white

7.01
#8F2B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8F2B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B9C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B9C#FFFFFF#000000##FFFFFF
##8F2B9C1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#3C5D99
Tritanopia (blue-blind)
#913F61
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2b9c;
/* rgb */ color: rgb(143, 43, 156);
/* oklch */ color: oklch(48.8% 0.189 322.9);
Tailwind
colors: {
  custom: {
    50: '#b36eba',
    500: '#8f2b9c',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b9c;
$custom-light: #b36eba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b9c",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 293.097,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48826,
    "c": 0.18863,
    "h": 322.9
  },
  "luminance": 0.09968
}

Semantic roles & 50–950 ramp

primary
#8F2B9C
secondary
#70BD66
accent
#E04859
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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