#8F339D#8F339D

#8F339D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.180 H 322.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8F339D
RGBrgb(143, 51, 157)
HSLhsl(292, 51%, 41%)
HSVhsv(292, 68%, 62%)
CMYKcmyk(8.9%, 67.5%, 0%, 38.4%)
CIE-LABlab(38.97, 53.32, -39.52)
CIE-LCHlch(38.97, 66.37, 323.46°)
OKLaboklab(49.7% 0.1417 -0.1102)
OKLCHoklch(49.7% 0.18 322.1)
XYZxyz(18.5967, 10.6426, 32.9664)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F339D #419D33
analogous
#5A339D #8F339D #9D3376
triadic
#8F339D #9D8F33 #339D8F
tetradic
#8F339D #9D5A33 #419D33 #33769D
square
#8F339D #9D5A33 #419D33 #33769D
split-complementary
#8F339D #769D33 #339D5A
monochromatic
#3B1541 #65246F #8F339D #B449C4 #C777D3

Accessibility & contrast

On white

6.71
#8F339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8F339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F339D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F339D#FFFFFF#000000##FFFFFF
##8F339D1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1555A0
Deuteranopia (green-blind)
#415F9A
Tritanopia (blue-blind)
#914564
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f339d;
/* rgb */ color: rgb(143, 51, 157);
/* oklch */ color: oklch(49.7% 0.180 322.1);
Tailwind
colors: {
  custom: {
    50: '#b372ba',
    500: '#8f339d',
    950: '#000000',
  },
}
SCSS
$custom: #8f339d;
$custom-light: #b372ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f339d",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 292.075,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.17952,
    "h": 322.1
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#8F339D
secondary
#7ABB70
accent
#DA4D60
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F339D

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

Preview Lab → · Contrast checker → · Palette generator →

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