#8E277E#8E277E

#8E277E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.169 H 334.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8E277E
RGBrgb(142, 39, 126)
HSLhsl(309, 57%, 35%)
HSVhsv(309, 73%, 56%)
CMYKcmyk(0%, 72.5%, 11.3%, 44.3%)
CIE-LABlab(35.42, 52.40, -26.15)
CIE-LCHlch(35.42, 58.56, 333.48°)
OKLaboklab(46.55% 0.1527 -0.0714)
OKLCHoklch(46.55% 0.169 334.9)
XYZxyz(15.6469, 8.7095, 20.5916)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E277E #278E37
analogous
#6A278E #8E277E #8E274B
triadic
#8E277E #7E8E27 #277E8E
tetradic
#8E277E #8E6A27 #278E37 #274B8E
square
#8E277E #8E6A27 #278E37 #274B8E
split-complementary
#8E277E #4B8E27 #278E6A
monochromatic
#2E0D29 #5E1A53 #8E277E #BE34A9 #D25DC0

Accessibility & contrast

On white

7.66
#8E277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8E277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E277E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E277E#FFFFFF#000000##FFFFFF
##8E277E1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A80
Deuteranopia (green-blind)
#4A597C
Tritanopia (blue-blind)
#952F4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e277e;
/* rgb */ color: rgb(142, 39, 126);
/* oklch */ color: oklch(46.5% 0.169 334.9);
Tailwind
colors: {
  custom: {
    50: '#b26ba3',
    500: '#8e277e',
    950: '#000000',
  },
}
SCSS
$custom: #8e277e;
$custom-light: #b26ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e277e",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 309.32,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46549,
    "c": 0.16856,
    "h": 334.9
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#8E277E
secondary
#59B868
accent
#E05F48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E277E

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

Preview Lab → · Contrast checker → · Palette generator →

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