#8E339F#8E339F

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

Color values

HEX#8E339F
RGBrgb(142, 51, 159)
HSLhsl(291, 51%, 41%)
HSVhsv(291, 68%, 62%)
CMYKcmyk(10.7%, 67.9%, 0%, 37.6%)
CIE-LABlab(38.94, 53.47, -40.79)
CIE-LCHlch(38.94, 67.25, 322.66°)
OKLaboklab(49.68% 0.1405 -0.1139)
OKLCHoklch(49.68% 0.181 321)
XYZxyz(18.5964, 10.6226, 33.8650)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E339F #449F33
analogous
#58339F #8E339F #9F337A
triadic
#8E339F #9F8E33 #339F8E
tetradic
#8E339F #9F5833 #449F33 #337A9F
square
#8E339F #9F5833 #449F33 #337A9F
split-complementary
#8E339F #7A9F33 #339F58
monochromatic
#3B1542 #652471 #8E339F #B24AC5 #C579D4

Accessibility & contrast

On white

6.72
#8E339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E339F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E339F#FFFFFF#000000##FFFFFF
##8E339F1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1055A2
Deuteranopia (green-blind)
#3E5F9C
Tritanopia (blue-blind)
#8F4665
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e339f;
/* rgb */ color: rgb(142, 51, 159);
/* oklch */ color: oklch(49.7% 0.181 321.0);
Tailwind
colors: {
  custom: {
    50: '#b272bc',
    500: '#8e339f',
    950: '#000000',
  },
}
SCSS
$custom: #8e339f;
$custom-light: #b272bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e339f",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 290.556,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49678,
    "c": 0.18087,
    "h": 321
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E339F

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

Preview Lab → · Contrast checker → · Palette generator →

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