#8F279F#8F279F

#8F279F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.196 H 321.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8F279F
RGBrgb(143, 39, 159)
HSLhsl(292, 61%, 39%)
HSVhsv(292, 75%, 62%)
CMYKcmyk(10.1%, 75.5%, 0%, 37.6%)
CIE-LABlab(37.47, 58.29, -43.12)
CIE-LCHlch(37.47, 72.51, 323.51°)
OKLaboklab(48.66% 0.1541 -0.1206)
OKLCHoklch(48.66% 0.196 321.9)
XYZxyz(18.3106, 9.7949, 33.7203)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F279F #379F27
analogous
#53279F #8F279F #9F2773
triadic
#8F279F #9F8F27 #279F8F
tetradic
#8F279F #9F5327 #379F27 #27739F
square
#8F279F #9F5327 #379F27 #27739F
split-complementary
#8F279F #739F27 #279F53
monochromatic
#370F3D #631B6E #8F279F #B936CE #CA67DA

Accessibility & contrast

On white

7.10
#8F279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8F279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F279F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F279F#FFFFFF#000000##FFFFFF
##8F279F1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#385C9C
Tritanopia (blue-blind)
#913E61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f279f;
/* rgb */ color: rgb(143, 39, 159);
/* oklch */ color: oklch(48.7% 0.196 321.9);
Tailwind
colors: {
  custom: {
    50: '#b36dbc',
    500: '#8f279f',
    950: '#000000',
  },
}
SCSS
$custom: #8f279f;
$custom-light: #b36dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f279f",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 292,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48661,
    "c": 0.19566,
    "h": 321.9
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

primary
#8F279F
secondary
#6FC062
accent
#E44459
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F279F

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

Preview Lab → · Contrast checker → · Palette generator →

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