#8F279D#8F279D

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

Color values

HEX#8F279D
RGBrgb(143, 39, 157)
HSLhsl(293, 60%, 38%)
HSVhsv(293, 75%, 62%)
CMYKcmyk(8.9%, 75.2%, 0%, 38.4%)
CIE-LABlab(37.35, 57.92, -42.11)
CIE-LCHlch(37.35, 71.62, 323.98°)
OKLaboklab(48.53% 0.1542 -0.1177)
OKLCHoklch(48.53% 0.194 322.7)
XYZxyz(18.1384, 9.7261, 32.8137)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F279D #359D27
analogous
#54279D #8F279D #9D2770
triadic
#8F279D #9D8F27 #279D8F
tetradic
#8F279D #9D5427 #359D27 #27709D
square
#8F279D #9D5427 #359D27 #27709D
split-complementary
#8F279D #709D27 #279D54
monochromatic
#360F3B #621B6C #8F279D #BB35CD #CB66D9

Accessibility & contrast

On white

7.13
#8F279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8F279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F279D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F279D#FFFFFF#000000##FFFFFF
##8F279D1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#395C9A
Tritanopia (blue-blind)
#913D60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f279d;
/* rgb */ color: rgb(143, 39, 157);
/* oklch */ color: oklch(48.5% 0.194 322.7);
Tailwind
colors: {
  custom: {
    50: '#b36dba',
    500: '#8f279d',
    950: '#000000',
  },
}
SCSS
$custom: #8f279d;
$custom-light: #b36dba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f279d",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 292.881,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48532,
    "c": 0.19398,
    "h": 322.7
  },
  "luminance": 0.09725
}

Semantic roles & 50–950 ramp

primary
#8F279D
secondary
#6CBF61
accent
#E34457
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F279D

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

Preview Lab → · Contrast checker → · Palette generator →

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