#8F279B#8F279B

#8F279B is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.192 H 323.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8F279B
RGBrgb(143, 39, 155)
HSLhsl(294, 60%, 38%)
HSVhsv(294, 75%, 61%)
CMYKcmyk(7.7%, 74.8%, 0%, 39.2%)
CIE-LABlab(37.22, 57.56, -41.10)
CIE-LCHlch(37.22, 70.73, 324.47°)
OKLaboklab(48.4% 0.1543 -0.1147)
OKLCHoklch(48.4% 0.192 323.4)
XYZxyz(17.9691, 9.6583, 31.9218)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F279B #339B27
analogous
#55279B #8F279B #9B276D
triadic
#8F279B #9B8F27 #279B8F
tetradic
#8F279B #9B5527 #339B27 #276D9B
square
#8F279B #9B5527 #339B27 #276D9B
split-complementary
#8F279B #6D9B27 #279B55
monochromatic
#350E39 #621B6A #8F279B #BC33CC #CC64D8

Accessibility & contrast

On white

7.16
#8F279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8F279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F279B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F279B#FFFFFF#000000##FFFFFF
##8F279B1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#3B5C98
Tritanopia (blue-blind)
#913C5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f279b;
/* rgb */ color: rgb(143, 39, 155);
/* oklch */ color: oklch(48.4% 0.192 323.4);
Tailwind
colors: {
  custom: {
    50: '#b36db9',
    500: '#8f279b',
    950: '#000000',
  },
}
SCSS
$custom: #8f279b;
$custom-light: #b36db9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f279b",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 293.793,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48403,
    "c": 0.19231,
    "h": 323.4
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#8F279B
secondary
#6ABE60
accent
#E34555
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F279B

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

Preview Lab → · Contrast checker → · Palette generator →

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