#8E258A#8E258A

#8E258A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.180 H 329.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8E258A
RGBrgb(142, 37, 138)
HSLhsl(302, 59%, 35%)
HSVhsv(302, 74%, 56%)
CMYKcmyk(0%, 73.9%, 2.8%, 44.3%)
CIE-LABlab(35.81, 55.06, -32.97)
CIE-LCHlch(35.81, 64.18, 329.09°)
OKLaboklab(47.04% 0.1555 -0.0911)
OKLCHoklch(47.04% 0.18 329.6)
XYZxyz(16.4042, 8.9101, 24.8957)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E258A #258E29
analogous
#5E258E #8E258A #8E2555
triadic
#8E258A #8A8E25 #258A8E
tetradic
#8E258A #8E5E25 #258E29 #25558E
square
#8E258A #8E5E25 #258E29 #25558E
split-complementary
#8E258A #558E25 #258E5E
monochromatic
#2D0C2C #5D185B #8E258A #BF32B9 #D45ACF

Accessibility & contrast

On white

7.55
#8E258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8E258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E258A
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E258A#FFFFFF#000000##FFFFFF
##8E258A1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8D
Deuteranopia (green-blind)
#445987
Tritanopia (blue-blind)
#933355
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e258a;
/* rgb */ color: rgb(142, 37, 138);
/* oklch */ color: oklch(47.0% 0.180 329.6);
Tailwind
colors: {
  custom: {
    50: '#b26bac',
    500: '#8e258a',
    950: '#000000',
  },
}
SCSS
$custom: #8e258a;
$custom-light: #b26bac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e258a",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 302.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47039,
    "c": 0.18017,
    "h": 329.6
  },
  "luminance": 0.08909
}

Semantic roles & 50–950 ramp

primary
#8E258A
secondary
#56B95A
accent
#E24C46
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E258A

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

Preview Lab → · Contrast checker → · Palette generator →

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