#8E269D#8E269D

#8E269D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.195 H 322.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8E269D
RGBrgb(142, 38, 157)
HSLhsl(292, 61%, 38%)
HSVhsv(292, 76%, 62%)
CMYKcmyk(9.6%, 75.8%, 0%, 38.4%)
CIE-LABlab(37.06, 58.06, -42.57)
CIE-LCHlch(37.06, 71.99, 323.75°)
OKLaboklab(48.3% 0.154 -0.119)
OKLCHoklch(48.3% 0.195 322.3)
XYZxyz(17.9336, 9.5724, 32.7948)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E269D #359D26
analogous
#52269D #8E269D #9D2670
triadic
#8E269D #9D8E26 #269D8E
tetradic
#8E269D #9D5226 #359D26 #26709D
square
#8E269D #9D5226 #359D26 #26709D
split-complementary
#8E269D #709D26 #269D52
monochromatic
#350E3A #611A6C #8E269D #BA33CE #CB64D9

Accessibility & contrast

On white

7.21
#8E269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8E269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E269D
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E269D#FFFFFF#000000##FFFFFF
##8E269D1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e269d;
/* rgb */ color: rgb(142, 38, 157);
/* oklch */ color: oklch(48.3% 0.195 322.3);
Tailwind
colors: {
  custom: {
    50: '#b36cba',
    500: '#8e269d',
    950: '#000000',
  },
}
SCSS
$custom: #8e269d;
$custom-light: #b36cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e269d",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 292.437,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48299,
    "c": 0.19461,
    "h": 322.3
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#8E269D
secondary
#6CBF60
accent
#E44458
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E269D

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

Preview Lab → · Contrast checker → · Palette generator →

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