#8E278F#8E278F

#8E278F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.182 H 327.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8E278F
RGBrgb(142, 39, 143)
HSLhsl(299, 57%, 36%)
HSVhsv(299, 73%, 56%)
CMYKcmyk(0.7%, 72.7%, 0%, 43.9%)
CIE-LABlab(36.34, 55.21, -35.20)
CIE-LCHlch(36.34, 65.48, 327.48°)
OKLaboklab(47.51% 0.1535 -0.0976)
OKLCHoklch(47.51% 0.182 327.6)
XYZxyz(16.8385, 9.1862, 26.8675)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E278F #288F27
analogous
#5A278F #8E278F #8F275C
triadic
#8E278F #8F8E27 #278F8E
tetradic
#8E278F #8F5A27 #288F27 #275C8F
square
#8E278F #8F5A27 #288F27 #275C8F
split-complementary
#8E278F #5C8F27 #278F5A
monochromatic
#2F0D2F #5E1A5F #8E278F #BE34BF #D25DD3

Accessibility & contrast

On white

7.40
#8E278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8E278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E278F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E278F#FFFFFF#000000##FFFFFF
##8E278F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124D92
Deuteranopia (green-blind)
#425A8C
Tritanopia (blue-blind)
#923759
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e278f;
/* rgb */ color: rgb(142, 39, 143);
/* oklch */ color: oklch(47.5% 0.182 327.6);
Tailwind
colors: {
  custom: {
    50: '#b26cb0',
    500: '#8e278f',
    950: '#000000',
  },
}
SCSS
$custom: #8e278f;
$custom-light: #b26cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e278f",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 299.423,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.18191,
    "h": 327.6
  },
  "luminance": 0.09185
}

Semantic roles & 50–950 ramp

primary
#8E278F
secondary
#5BB85A
accent
#E04749
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E278F

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

Preview Lab → · Contrast checker → · Palette generator →

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