#8E268D#8E268D

#8E268D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.181 H 328.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8E268D
RGBrgb(142, 38, 141)
HSLhsl(301, 58%, 35%)
HSVhsv(301, 73%, 56%)
CMYKcmyk(0%, 73.2%, 0.7%, 44.3%)
CIE-LABlab(36.10, 55.22, -34.35)
CIE-LCHlch(36.10, 65.04, 328.11°)
OKLaboklab(47.3% 0.1545 -0.0951)
OKLCHoklch(47.3% 0.181 328.4)
XYZxyz(16.6560, 9.0613, 26.0659)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E268D #268E27
analogous
#5B268E #8E268D #8E2659
triadic
#8E268D #8D8E26 #268D8E
tetradic
#8E268D #8E5B26 #268E27 #26598E
square
#8E268D #8E5B26 #268E27 #26598E
split-complementary
#8E268D #598E26 #268E5B
monochromatic
#2D0C2D #5E195D #8E268D #BE33BD #D35BD2

Accessibility & contrast

On white

7.47
#8E268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E268D
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E268D#FFFFFF#000000##FFFFFF
##8E268D1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C90
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#933557
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e268d;
/* rgb */ color: rgb(142, 38, 141);
/* oklch */ color: oklch(47.3% 0.181 328.4);
Tailwind
colors: {
  custom: {
    50: '#b26baf',
    500: '#8e268d',
    950: '#000000',
  },
}
SCSS
$custom: #8e268d;
$custom-light: #b26baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e268d",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 300.577,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47303,
    "c": 0.18144,
    "h": 328.4
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#8E268D
secondary
#58B859
accent
#E14847
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E268D

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

Preview Lab → · Contrast checker → · Palette generator →

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