#8F2A9C#8F2A9C

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

Color values

HEX#8F2A9C
RGBrgb(143, 42, 156)
HSLhsl(293, 58%, 39%)
HSVhsv(293, 73%, 61%)
CMYKcmyk(8.3%, 73.1%, 0%, 38.8%)
CIE-LABlab(37.66, 56.68, -41.01)
CIE-LCHlch(37.66, 69.96, 324.11°)
OKLaboklab(48.73% 0.1514 -0.1145)
OKLCHoklch(48.73% 0.19 322.9)
XYZxyz(18.1558, 9.8969, 32.4000)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A9C #379C2A
analogous
#562A9C #8F2A9C #9C2A70
triadic
#8F2A9C #9C8F2A #2A9C8F
tetradic
#8F2A9C #9C562A #379C2A #2A709C
square
#8F2A9C #9C562A #379C2A #2A709C
split-complementary
#8F2A9C #709C2A #2A9C56
monochromatic
#37103C #631D6C #8F2A9C #B939CA #CA6AD7

Accessibility & contrast

On white

7.05
#8F2A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8F2A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A9C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A9C#FFFFFF#000000##FFFFFF
##8F2A9C1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2a9c;
/* rgb */ color: rgb(143, 42, 156);
/* oklch */ color: oklch(48.7% 0.190 322.9);
Tailwind
colors: {
  custom: {
    50: '#b36eba',
    500: '#8f2a9c',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a9c;
$custom-light: #b36eba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a9c",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 293.158,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48733,
    "c": 0.18979,
    "h": 322.9
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#8F2A9C
secondary
#6FBD65
accent
#E14759
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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