#8E259F#8E259F

#8E259F is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.197 H 321.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8E259F
RGBrgb(142, 37, 159)
HSLhsl(292, 62%, 38%)
HSVhsv(292, 77%, 62%)
CMYKcmyk(10.7%, 76.7%, 0%, 37.6%)
CIE-LABlab(37.07, 58.76, -43.77)
CIE-LCHlch(37.07, 73.27, 323.32°)
OKLaboklab(48.35% 0.1547 -0.1225)
OKLCHoklch(48.35% 0.197 321.6)
XYZxyz(18.0742, 9.5781, 33.6909)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E259F #369F25
analogous
#51259F #8E259F #9F2573
triadic
#8E259F #9F8E25 #259F8E
tetradic
#8E259F #9F5125 #369F25 #25739F
square
#8E259F #9F5125 #369F25 #25739F
split-complementary
#8E259F #739F25 #259F51
monochromatic
#350E3C #62196D #8E259F #B932CF #CA64DB

Accessibility & contrast

On white

7.20
#8E259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8E259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E259F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E259F#FFFFFF#000000##FFFFFF
##8E259F1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#365B9C
Tritanopia (blue-blind)
#8F3D61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e259f;
/* rgb */ color: rgb(142, 37, 159);
/* oklch */ color: oklch(48.3% 0.197 321.6);
Tailwind
colors: {
  custom: {
    50: '#b36cbc',
    500: '#8e259f',
    950: '#000000',
  },
}
SCSS
$custom: #8e259f;
$custom-light: #b36cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e259f",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 291.639,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.19733,
    "h": 321.6
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#8E259F
secondary
#6DC05F
accent
#E54259
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E259F

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

Preview Lab → · Contrast checker → · Palette generator →

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