#8F279A#8F279A

#8F279A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.191 H 323.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8F279A
RGBrgb(143, 39, 154)
HSLhsl(294, 60%, 38%)
HSVhsv(294, 75%, 60%)
CMYKcmyk(7.1%, 74.7%, 0%, 39.6%)
CIE-LABlab(37.16, 57.38, -40.59)
CIE-LCHlch(37.16, 70.29, 324.72°)
OKLaboklab(48.34% 0.1544 -0.1132)
OKLCHoklch(48.34% 0.191 323.7)
XYZxyz(17.8854, 9.6249, 31.4813)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F279A #329A27
analogous
#56279A #8F279A #9A276B
triadic
#8F279A #9A8F27 #279A8F
tetradic
#8F279A #9A5627 #329A27 #276B9A
square
#8F279A #9A5627 #329A27 #276B9A
split-complementary
#8F279A #6B9A27 #279A56
monochromatic
#340E38 #621B69 #8F279A #BC33CB #CD64D8

Accessibility & contrast

On white

7.18
#8F279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F279A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F279A#FFFFFF#000000##FFFFFF
##8F279A1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#3C5C97
Tritanopia (blue-blind)
#923C5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f279a;
/* rgb */ color: rgb(143, 39, 154);
/* oklch */ color: oklch(48.3% 0.191 323.7);
Tailwind
colors: {
  custom: {
    50: '#b36cb8',
    500: '#8f279a',
    950: '#000000',
  },
}
SCSS
$custom: #8f279a;
$custom-light: #b36cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f279a",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 294.261,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4834,
    "c": 0.19146,
    "h": 323.7
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#8F279A
secondary
#68BD5F
accent
#E34554
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F279A

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

Preview Lab → · Contrast checker → · Palette generator →

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