#8F339F#8F339F

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

Color values

HEX#8F339F
RGBrgb(143, 51, 159)
HSLhsl(291, 51%, 41%)
HSVhsv(291, 68%, 62%)
CMYKcmyk(10.1%, 67.9%, 0%, 37.6%)
CIE-LABlab(39.09, 53.70, -40.53)
CIE-LCHlch(39.09, 67.28, 322.96°)
OKLaboklab(49.82% 0.1417 -0.1131)
OKLCHoklch(49.82% 0.181 321.4)
XYZxyz(18.7688, 10.7115, 33.8731)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F339F #439F33
analogous
#59339F #8F339F #9F3379
triadic
#8F339F #9F8F33 #339F8F
tetradic
#8F339F #9F5933 #439F33 #33799F
square
#8F339F #9F5933 #439F33 #33799F
split-complementary
#8F339F #799F33 #339F59
monochromatic
#3C1542 #652471 #8F339F #B34AC5 #C679D4

Accessibility & contrast

On white

6.68
#8F339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F339F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F339F#FFFFFF#000000##FFFFFF
##8F339F1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A2
Deuteranopia (green-blind)
#3F5F9C
Tritanopia (blue-blind)
#904665
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f339f;
/* rgb */ color: rgb(143, 51, 159);
/* oklch */ color: oklch(49.8% 0.181 321.4);
Tailwind
colors: {
  custom: {
    50: '#b372bc',
    500: '#8f339f',
    950: '#000000',
  },
}
SCSS
$custom: #8f339f;
$custom-light: #b372bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f339f",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 291.111,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49819,
    "c": 0.18134,
    "h": 321.4
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#8F339F
secondary
#7DBC71
accent
#DB4D62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F339F

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

Preview Lab → · Contrast checker → · Palette generator →

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