#8E279D#8E279D

#8E279D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.194 H 322.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8E279D
RGBrgb(142, 39, 157)
HSLhsl(292, 60%, 38%)
HSVhsv(292, 75%, 62%)
CMYKcmyk(9.6%, 75.2%, 0%, 38.4%)
CIE-LABlab(37.18, 57.71, -42.38)
CIE-LCHlch(37.18, 71.60, 323.71°)
OKLaboklab(48.38% 0.153 -0.1185)
OKLCHoklch(48.38% 0.194 322.2)
XYZxyz(17.9660, 9.6372, 32.8056)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E279D #369D27
analogous
#53279D #8E279D #9D2771
triadic
#8E279D #9D8E27 #279D8E
tetradic
#8E279D #9D5327 #369D27 #27719D
square
#8E279D #9D5327 #369D27 #27719D
split-complementary
#8E279D #719D27 #279D53
monochromatic
#350F3B #621B6C #8E279D #B935CD #CA66D9

Accessibility & contrast

On white

7.17
#8E279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8E279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E279D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E279D#FFFFFF#000000##FFFFFF
##8E279D1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#385B9A
Tritanopia (blue-blind)
#903E60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e279d;
/* rgb */ color: rgb(142, 39, 157);
/* oklch */ color: oklch(48.4% 0.194 322.2);
Tailwind
colors: {
  custom: {
    50: '#b36cba',
    500: '#8e279d',
    950: '#000000',
  },
}
SCSS
$custom: #8e279d;
$custom-light: #b36cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e279d",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 292.373,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48384,
    "c": 0.19354,
    "h": 322.2
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#8E279D
secondary
#6DBF61
accent
#E34459
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E279D

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

Preview Lab → · Contrast checker → · Palette generator →

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