#8E259C#8E259C

#8E259C is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.195 H 322.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8E259C
RGBrgb(142, 37, 156)
HSLhsl(293, 62%, 38%)
HSVhsv(293, 76%, 61%)
CMYKcmyk(9%, 76.3%, 0%, 38.8%)
CIE-LABlab(36.88, 58.21, -42.26)
CIE-LCHlch(36.88, 71.93, 324.02°)
OKLaboklab(48.15% 0.1549 -0.1181)
OKLCHoklch(48.15% 0.195 322.7)
XYZxyz(17.8171, 9.4753, 32.3365)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E259C #339C25
analogous
#52259C #8E259C #9C256E
triadic
#8E259C #9C8E25 #259C8E
tetradic
#8E259C #9C5225 #339C25 #256E9C
square
#8E259C #9C5225 #339C25 #256E9C
split-complementary
#8E259C #6E9C25 #259C52
monochromatic
#340E39 #61196B #8E259C #BB31CD #CC62DA

Accessibility & contrast

On white

7.25
#8E259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E259C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E259C#FFFFFF#000000##FFFFFF
##8E259C1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#385B99
Tritanopia (blue-blind)
#903C5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e259c;
/* rgb */ color: rgb(142, 37, 156);
/* oklch */ color: oklch(48.2% 0.195 322.7);
Tailwind
colors: {
  custom: {
    50: '#b36cba',
    500: '#8e259c',
    950: '#000000',
  },
}
SCSS
$custom: #8e259c;
$custom-light: #b36cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e259c",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 292.941,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48151,
    "c": 0.19482,
    "h": 322.7
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#8E259C
secondary
#69BF5E
accent
#E54356
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E259C

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

Preview Lab → · Contrast checker → · Palette generator →

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