#8F279C#8F279C

#8F279C is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.193 H 323.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8F279C
RGBrgb(143, 39, 156)
HSLhsl(293, 60%, 38%)
HSVhsv(293, 75%, 61%)
CMYKcmyk(8.3%, 75%, 0%, 38.8%)
CIE-LABlab(37.28, 57.74, -41.61)
CIE-LCHlch(37.28, 71.17, 324.22°)
OKLaboklab(48.47% 0.1543 -0.1162)
OKLCHoklch(48.47% 0.193 323)
XYZxyz(18.0534, 9.6921, 32.3659)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F279C #349C27
analogous
#54279C #8F279C #9C276E
triadic
#8F279C #9C8F27 #279C8F
tetradic
#8F279C #9C5427 #349C27 #276E9C
square
#8F279C #9C5427 #349C27 #276E9C
split-complementary
#8F279C #6E9C27 #279C54
monochromatic
#350F3A #621B6B #8F279C #BB34CC #CC65D8

Accessibility & contrast

On white

7.15
#8F279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8F279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F279C
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F279C#FFFFFF#000000##FFFFFF
##8F279C1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#3A5C99
Tritanopia (blue-blind)
#913D60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f279c;
/* rgb */ color: rgb(143, 39, 156);
/* oklch */ color: oklch(48.5% 0.193 323.0);
Tailwind
colors: {
  custom: {
    50: '#b36dba',
    500: '#8f279c',
    950: '#000000',
  },
}
SCSS
$custom: #8f279c;
$custom-light: #b36dba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f279c",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 293.333,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48467,
    "c": 0.19314,
    "h": 323
  },
  "luminance": 0.09691
}

Semantic roles & 50–950 ramp

primary
#8F279C
secondary
#6BBE61
accent
#E34556
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F279C

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

Preview Lab → · Contrast checker → · Palette generator →

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