#8F339B#8F339B

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

Color values

HEX#8F339B
RGBrgb(143, 51, 155)
HSLhsl(293, 50%, 40%)
HSVhsv(293, 67%, 61%)
CMYKcmyk(7.7%, 67.1%, 0%, 39.2%)
CIE-LABlab(38.86, 52.94, -38.50)
CIE-LCHlch(38.86, 65.46, 323.98°)
OKLaboklab(49.57% 0.1417 -0.1072)
OKLCHoklch(49.57% 0.178 322.9)
XYZxyz(18.4273, 10.5749, 32.0745)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F339B #3F9B33
analogous
#5B339B #8F339B #9B3373
triadic
#8F339B #9B8F33 #339B8F
tetradic
#8F339B #9B5B33 #3F9B33 #33739B
square
#8F339B #9B5B33 #3F9B33 #33739B
split-complementary
#8F339B #739B33 #339B5B
monochromatic
#3A153F #65246D #8F339B #B548C3 #C776D2

Accessibility & contrast

On white

6.74
#8F339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F339B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F339B#FFFFFF#000000##FFFFFF
##8F339B1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559E
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#914463
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f339b;
/* rgb */ color: rgb(143, 51, 155);
/* oklch */ color: oklch(49.6% 0.178 322.9);
Tailwind
colors: {
  custom: {
    50: '#b372b9',
    500: '#8f339b',
    950: '#000000',
  },
}
SCSS
$custom: #8f339b;
$custom-light: #b372b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f339b",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 293.077,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49573,
    "c": 0.17772,
    "h": 322.9
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#8F339B
secondary
#78BA6F
accent
#DA4E5E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F339B

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

Preview Lab → · Contrast checker → · Palette generator →

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