#8E259E#8E259E

#8E259E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.197 H 322.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8E259E
RGBrgb(142, 37, 158)
HSLhsl(292, 62%, 38%)
HSVhsv(292, 77%, 62%)
CMYKcmyk(10.1%, 76.6%, 0%, 38%)
CIE-LABlab(37.01, 58.57, -43.26)
CIE-LCHlch(37.01, 72.82, 323.55°)
OKLaboklab(48.28% 0.1548 -0.1211)
OKLCHoklch(48.28% 0.197 322)
XYZxyz(17.9878, 9.5436, 33.2358)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E259E #359E25
analogous
#51259E #8E259E #9E2571
triadic
#8E259E #9E8E25 #259E8E
tetradic
#8E259E #9E5125 #359E25 #25719E
square
#8E259E #9E5125 #359E25 #25719E
split-complementary
#8E259E #719E25 #259E51
monochromatic
#350E3B #61196C #8E259E #BA31CF #CB63DA

Accessibility & contrast

On white

7.22
#8E259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E259E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E259E#FFFFFF#000000##FFFFFF
##8E259E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#365B9B
Tritanopia (blue-blind)
#903D60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e259e;
/* rgb */ color: rgb(142, 37, 158);
/* oklch */ color: oklch(48.3% 0.197 322.0);
Tailwind
colors: {
  custom: {
    50: '#b36cbb',
    500: '#8e259e',
    950: '#000000',
  },
}
SCSS
$custom: #8e259e;
$custom-light: #b36cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e259e",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 292.066,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48281,
    "c": 0.1965,
    "h": 322
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#8E259E
secondary
#6CC05F
accent
#E54358
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E259E

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

Preview Lab → · Contrast checker → · Palette generator →

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