#8F339E#8F339E

#8F339E is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.8% C 0.180 H 321.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8F339E
RGBrgb(143, 51, 158)
HSLhsl(292, 51%, 41%)
HSVhsv(292, 68%, 62%)
CMYKcmyk(9.5%, 67.7%, 0%, 38%)
CIE-LABlab(39.03, 53.51, -40.03)
CIE-LCHlch(39.03, 66.83, 323.20°)
OKLaboklab(49.76% 0.1417 -0.1117)
OKLCHoklch(49.76% 0.18 321.8)
XYZxyz(18.6824, 10.6769, 33.4179)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F339E #429E33
analogous
#59339E #8F339E #9E3377
triadic
#8F339E #9E8F33 #339E8F
tetradic
#8F339E #9E5933 #429E33 #33779E
square
#8F339E #9E5933 #429E33 #33779E
split-complementary
#8F339E #779E33 #339E59
monochromatic
#3B1541 #652470 #8F339E #B34AC4 #C778D3

Accessibility & contrast

On white

6.70
#8F339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8F339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F339E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F339E#FFFFFF#000000##FFFFFF
##8F339E1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A1
Deuteranopia (green-blind)
#405F9B
Tritanopia (blue-blind)
#914564
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f339e;
/* rgb */ color: rgb(143, 51, 158);
/* oklch */ color: oklch(49.8% 0.180 321.8);
Tailwind
colors: {
  custom: {
    50: '#b372bb',
    500: '#8f339e',
    950: '#000000',
  },
}
SCSS
$custom: #8f339e;
$custom-light: #b372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f339e",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 291.589,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49757,
    "c": 0.18043,
    "h": 321.8
  },
  "luminance": 0.10676
}

Semantic roles & 50–950 ramp

primary
#8F339E
secondary
#7BBC71
accent
#DB4D61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F339E

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

Preview Lab → · Contrast checker → · Palette generator →

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