#8E259B#8E259B

#8E259B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.194 H 323.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8E259B
RGBrgb(142, 37, 155)
HSLhsl(293, 61%, 38%)
HSVhsv(293, 76%, 61%)
CMYKcmyk(8.4%, 76.1%, 0%, 39.2%)
CIE-LABlab(36.82, 58.03, -41.75)
CIE-LCHlch(36.82, 71.49, 324.26°)
OKLaboklab(48.09% 0.155 -0.1166)
OKLCHoklch(48.09% 0.194 323)
XYZxyz(17.7327, 9.4415, 31.8924)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E259B #329B25
analogous
#53259B #8E259B #9B256D
triadic
#8E259B #9B8E25 #259B8E
tetradic
#8E259B #9B5325 #329B25 #256D9B
square
#8E259B #9B5325 #329B25 #256D9B
split-complementary
#8E259B #6D9B25 #259B53
monochromatic
#330D38 #61196A #8E259B #BB31CC #CC61D9

Accessibility & contrast

On white

7.27
#8E259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8E259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E259B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E259B#FFFFFF#000000##FFFFFF
##8E259B1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#395B98
Tritanopia (blue-blind)
#903B5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e259b;
/* rgb */ color: rgb(142, 37, 155);
/* oklch */ color: oklch(48.1% 0.194 323.0);
Tailwind
colors: {
  custom: {
    50: '#b36cb9',
    500: '#8e259b',
    950: '#000000',
  },
}
SCSS
$custom: #8e259b;
$custom-light: #b36cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e259b",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 293.39,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48086,
    "c": 0.19399,
    "h": 323
  },
  "luminance": 0.0944
}

Semantic roles & 50–950 ramp

primary
#8E259B
secondary
#68BF5D
accent
#E54355
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E259B

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

Preview Lab → · Contrast checker → · Palette generator →

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