#8E258D#8E258D

#8E258D is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.183 H 328.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8E258D
RGBrgb(142, 37, 141)
HSLhsl(301, 59%, 35%)
HSVhsv(301, 74%, 56%)
CMYKcmyk(0%, 73.9%, 0.7%, 44.3%)
CIE-LABlab(35.98, 55.57, -34.55)
CIE-LCHlch(35.98, 65.43, 328.13°)
OKLaboklab(47.22% 0.1555 -0.0956)
OKLCHoklch(47.22% 0.183 328.4)
XYZxyz(16.6244, 8.9982, 26.0554)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E258D #258E26
analogous
#5A258E #8E258D #8E2559
triadic
#8E258D #8D8E25 #258D8E
tetradic
#8E258D #8E5A25 #258E26 #25598E
square
#8E258D #8E5A25 #258E26 #25598E
split-complementary
#8E258D #598E25 #258E5A
monochromatic
#2D0C2D #5D185D #8E258D #BF32BD #D45AD3

Accessibility & contrast

On white

7.50
#8E258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E258D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E258D#FFFFFF#000000##FFFFFF
##8E258D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C90
Deuteranopia (green-blind)
#42598A
Tritanopia (blue-blind)
#933557
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e258d;
/* rgb */ color: rgb(142, 37, 141);
/* oklch */ color: oklch(47.2% 0.183 328.4);
Tailwind
colors: {
  custom: {
    50: '#b26baf',
    500: '#8e258d',
    950: '#000000',
  },
}
SCSS
$custom: #8e258d;
$custom-light: #b26baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e258d",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 300.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47216,
    "c": 0.18257,
    "h": 328.4
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#8E258D
secondary
#56B957
accent
#E24746
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E258D

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

Preview Lab → · Contrast checker → · Palette generator →

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