#8E257E#8E257E

#8E257E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.171 H 334.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8E257E
RGBrgb(142, 37, 126)
HSLhsl(309, 59%, 35%)
HSVhsv(309, 74%, 56%)
CMYKcmyk(0%, 73.9%, 11.3%, 44.3%)
CIE-LABlab(35.17, 53.11, -26.54)
CIE-LCHlch(35.17, 59.38, 333.45°)
OKLaboklab(46.37% 0.1548 -0.0725)
OKLCHoklch(46.37% 0.171 334.9)
XYZxyz(15.5830, 8.5816, 20.5703)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E257E #258E35
analogous
#6A258E #8E257E #8E2549
triadic
#8E257E #7E8E25 #257E8E
tetradic
#8E257E #8E6A25 #258E35 #25498E
square
#8E257E #8E6A25 #258E35 #25498E
split-complementary
#8E257E #498E25 #258E6A
monochromatic
#2D0C28 #5D1853 #8E257E #BF32A9 #D45AC1

Accessibility & contrast

On white

7.73
#8E257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8E257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E257E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E257E#FFFFFF#000000##FFFFFF
##8E257E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244980
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#952E4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e257e;
/* rgb */ color: rgb(142, 37, 126);
/* oklch */ color: oklch(46.4% 0.171 334.9);
Tailwind
colors: {
  custom: {
    50: '#b26aa3',
    500: '#8e257e',
    950: '#000000',
  },
}
SCSS
$custom: #8e257e;
$custom-light: #b26aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e257e",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 309.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46367,
    "c": 0.17096,
    "h": 334.9
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

primary
#8E257E
secondary
#56B965
accent
#E25E46
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E257E

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

Preview Lab → · Contrast checker → · Palette generator →

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