#8F339A#8F339A

#8F339A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.177 H 323.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8F339A
RGBrgb(143, 51, 154)
HSLhsl(294, 50%, 40%)
HSVhsv(294, 67%, 60%)
CMYKcmyk(7.1%, 66.9%, 0%, 39.6%)
CIE-LABlab(38.80, 52.75, -37.99)
CIE-LCHlch(38.80, 65.01, 324.24°)
OKLaboklab(49.51% 0.1417 -0.1057)
OKLCHoklch(49.51% 0.177 323.3)
XYZxyz(18.3437, 10.5414, 31.6341)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F339A #3E9A33
analogous
#5B339A #8F339A #9A3372
triadic
#8F339A #9A8F33 #339A8F
tetradic
#8F339A #9A5B33 #3E9A33 #33729A
square
#8F339A #9A5B33 #3E9A33 #33729A
split-complementary
#8F339A #729A33 #339A5B
monochromatic
#3A153E #64246C #8F339A #B548C2 #C876D2

Accessibility & contrast

On white

6.76
#8F339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8F339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F339A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F339A#FFFFFF#000000##FFFFFF
##8F339A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549D
Deuteranopia (green-blind)
#435F97
Tritanopia (blue-blind)
#914462
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f339a;
/* rgb */ color: rgb(143, 51, 154);
/* oklch */ color: oklch(49.5% 0.177 323.3);
Tailwind
colors: {
  custom: {
    50: '#b372b8',
    500: '#8f339a',
    950: '#000000',
  },
}
SCSS
$custom: #8f339a;
$custom-light: #b372b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f339a",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 293.592,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49513,
    "c": 0.17682,
    "h": 323.3
  },
  "luminance": 0.1054
}

Semantic roles & 50–950 ramp

primary
#8F339A
secondary
#77BA6F
accent
#DA4E5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F339A

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

Preview Lab → · Contrast checker → · Palette generator →

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