#8E259D#8E259D

#8E259D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.196 H 322.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8E259D
RGBrgb(142, 37, 157)
HSLhsl(293, 62%, 38%)
HSVhsv(293, 76%, 62%)
CMYKcmyk(9.6%, 76.4%, 0%, 38.4%)
CIE-LABlab(36.95, 58.39, -42.76)
CIE-LCHlch(36.95, 72.37, 323.78°)
OKLaboklab(48.22% 0.1549 -0.1196)
OKLCHoklch(48.22% 0.196 322.3)
XYZxyz(17.9021, 9.5093, 32.7843)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E259D #349D25
analogous
#52259D #8E259D #9D2570
triadic
#8E259D #9D8E25 #259D8E
tetradic
#8E259D #9D5225 #349D25 #25709D
square
#8E259D #9D5225 #349D25 #25709D
split-complementary
#8E259D #709D25 #259D52
monochromatic
#340E3A #61196B #8E259D #BB31CE #CB62DA

Accessibility & contrast

On white

7.24
#8E259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8E259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E259D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E259D#FFFFFF#000000##FFFFFF
##8E259D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#375B9A
Tritanopia (blue-blind)
#903C60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e259d;
/* rgb */ color: rgb(142, 37, 157);
/* oklch */ color: oklch(48.2% 0.196 322.3);
Tailwind
colors: {
  custom: {
    50: '#b36cba',
    500: '#8e259d',
    950: '#000000',
  },
}
SCSS
$custom: #8e259d;
$custom-light: #b36cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e259d",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 292.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48216,
    "c": 0.19566,
    "h": 322.3
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#8E259D
secondary
#6ABF5E
accent
#E54357
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E259D

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

Preview Lab → · Contrast checker → · Palette generator →

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