#8E258E#8E258E

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

Color values

HEX#8E258E
RGBrgb(142, 37, 142)
HSLhsl(300, 59%, 35%)
HSVhsv(300, 74%, 56%)
CMYKcmyk(0%, 73.9%, 0%, 44.3%)
CIE-LABlab(36.04, 55.74, -35.07)
CIE-LCHlch(36.04, 65.85, 327.82°)
OKLaboklab(47.28% 0.1555 -0.0972)
OKLCHoklch(47.28% 0.183 328)
XYZxyz(16.6992, 9.0281, 26.4490)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E258E #258E25
analogous
#59258E #8E258E #8E2559
triadic
#8E258E #8E8E25 #258E8E
tetradic
#8E258E #8E5925 #258E25 #25598E
square
#8E258E #8E5925 #258E25 #25598E
split-complementary
#8E258E #598E25 #258E59
monochromatic
#2D0C2D #5D185D #8E258E #BF32BF #D45AD4

Accessibility & contrast

On white

7.49
#8E258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E258E
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E258E#FFFFFF#000000##FFFFFF
##8E258E1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C91
Deuteranopia (green-blind)
#41598B
Tritanopia (blue-blind)
#933557
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e258e;
/* rgb */ color: rgb(142, 37, 142);
/* oklch */ color: oklch(47.3% 0.183 328.0);
Tailwind
colors: {
  custom: {
    50: '#b26baf',
    500: '#8e258e',
    950: '#000000',
  },
}
SCSS
$custom: #8e258e;
$custom-light: #b26baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e258e",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47276,
    "c": 0.18337,
    "h": 328
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#8E258E
secondary
#56B956
accent
#E24646
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E258E

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

Preview Lab → · Contrast checker → · Palette generator →

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