#8F289F#8F289F

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

Color values

HEX#8F289F
RGBrgb(143, 40, 159)
HSLhsl(292, 60%, 39%)
HSVhsv(292, 75%, 62%)
CMYKcmyk(10.1%, 74.8%, 0%, 37.6%)
CIE-LABlab(37.59, 57.95, -42.93)
CIE-LCHlch(37.59, 72.11, 323.47°)
OKLaboklab(48.75% 0.1531 -0.1201)
OKLCHoklch(48.75% 0.195 321.9)
XYZxyz(18.3438, 9.8615, 33.7314)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F289F #389F28
analogous
#54289F #8F289F #9F2874
triadic
#8F289F #9F8F28 #289F8F
tetradic
#8F289F #9F5428 #389F28 #28749F
square
#8F289F #9F5428 #389F28 #28749F
split-complementary
#8F289F #749F28 #289F54
monochromatic
#370F3D #631C6E #8F289F #B937CD #CA68D9

Accessibility & contrast

On white

7.07
#8F289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8F289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F289F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F289F#FFFFFF#000000##FFFFFF
##8F289F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f289f;
/* rgb */ color: rgb(143, 40, 159);
/* oklch */ color: oklch(48.7% 0.195 321.9);
Tailwind
colors: {
  custom: {
    50: '#b36dbc',
    500: '#8f289f',
    950: '#000000',
  },
}
SCSS
$custom: #8f289f;
$custom-light: #b36dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f289f",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 291.933,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48747,
    "c": 0.19458,
    "h": 321.9
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#8F289F
secondary
#70BF64
accent
#E3455A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F289F

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

Preview Lab → · Contrast checker → · Palette generator →

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