#8F339C#8F339C

#8F339C is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.179 H 322.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8F339C
RGBrgb(143, 51, 156)
HSLhsl(293, 51%, 41%)
HSVhsv(293, 67%, 61%)
CMYKcmyk(8.3%, 67.3%, 0%, 38.8%)
CIE-LABlab(38.91, 53.13, -39.01)
CIE-LCHlch(38.91, 65.91, 323.71°)
OKLaboklab(49.63% 0.1417 -0.1087)
OKLCHoklch(49.63% 0.179 322.5)
XYZxyz(18.5117, 10.6086, 32.5186)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F339C #409C33
analogous
#5A339C #8F339C #9C3375
triadic
#8F339C #9C8F33 #339C8F
tetradic
#8F339C #9C5A33 #409C33 #33759C
square
#8F339C #9C5A33 #409C33 #33759C
split-complementary
#8F339C #759C33 #339C5A
monochromatic
#3A1540 #65246E #8F339C #B449C3 #C777D3

Accessibility & contrast

On white

6.73
#8F339C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8F339C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F339C
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F339C#FFFFFF#000000##FFFFFF
##8F339C1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17559F
Deuteranopia (green-blind)
#415F99
Tritanopia (blue-blind)
#914463
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f339c;
/* rgb */ color: rgb(143, 51, 156);
/* oklch */ color: oklch(49.6% 0.179 322.5);
Tailwind
colors: {
  custom: {
    50: '#b372ba',
    500: '#8f339c',
    950: '#000000',
  },
}
SCSS
$custom: #8f339c;
$custom-light: #b372ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f339c",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 292.571,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49634,
    "c": 0.17862,
    "h": 322.5
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#8F339C
secondary
#79BB70
accent
#DA4E5F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F339C

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

Preview Lab → · Contrast checker → · Palette generator →

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