#8E338E#8E338E

#8E338E is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.7% C 0.166 H 327.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8E338E
RGBrgb(142, 51, 142)
HSLhsl(300, 47%, 38%)
HSVhsv(300, 64%, 56%)
CMYKcmyk(0%, 64.1%, 0%, 44.3%)
CIE-LABlab(37.97, 50.29, -32.01)
CIE-LCHlch(37.97, 59.61, 327.53°)
OKLaboklab(48.67% 0.1401 -0.0884)
OKLCHoklch(48.67% 0.166 327.8)
XYZxyz(17.2214, 10.0726, 26.6231)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E338E #338E33
analogous
#60338E #8E338E #8E3360
triadic
#8E338E #8E8E33 #338E8E
tetradic
#8E338E #8E6033 #338E33 #33608E
square
#8E338E #8E6033 #338E33 #33608E
split-complementary
#8E338E #608E33 #338E60
monochromatic
#341334 #612361 #8E338E #BB43BB #CC70CC

Accessibility & contrast

On white

6.97
#8E338E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8E338E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E338E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E338E#FFFFFF#000000##FFFFFF
##8E338E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#923F5C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e338e;
/* rgb */ color: rgb(142, 51, 142);
/* oklch */ color: oklch(48.7% 0.166 327.8);
Tailwind
colors: {
  custom: {
    50: '#b272af',
    500: '#8e338e',
    950: '#000000',
  },
}
SCSS
$custom: #8e338e;
$custom-light: #b272af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e338e",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48669,
    "c": 0.16566,
    "h": 327.8
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#8E338E
secondary
#69B469
accent
#D75151
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E338E

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

Preview Lab → · Contrast checker → · Palette generator →

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