#8E2995#8E2995

#8E2995 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.185 H 325.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8E2995
RGBrgb(142, 41, 149)
HSLhsl(296, 57%, 37%)
HSVhsv(296, 72%, 58%)
CMYKcmyk(4.7%, 72.5%, 0%, 41.6%)
CIE-LABlab(36.94, 55.55, -37.91)
CIE-LCHlch(36.94, 67.25, 325.69°)
OKLaboklab(48.06% 0.1515 -0.1054)
OKLCHoklch(48.06% 0.185 325.2)
XYZxyz(17.3727, 9.5077, 29.3481)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2995 #309529
analogous
#582995 #8E2995 #952966
triadic
#8E2995 #958E29 #29958E
tetradic
#8E2995 #955829 #309529 #296695
square
#8E2995 #955829 #309529 #296695
split-complementary
#8E2995 #669529 #299558
monochromatic
#330F35 #601C65 #8E2995 #BC36C5 #CD64D4

Accessibility & contrast

On white

7.24
#8E2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8E2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2995
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2995#FFFFFF#000000##FFFFFF
##8E29951.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4F98
Deuteranopia (green-blind)
#3F5B92
Tritanopia (blue-blind)
#913B5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2995;
/* rgb */ color: rgb(142, 41, 149);
/* oklch */ color: oklch(48.1% 0.185 325.2);
Tailwind
colors: {
  custom: {
    50: '#b26db5',
    500: '#8e2995',
    950: '#000000',
  },
}
SCSS
$custom: #8e2995;
$custom-light: #b26db5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2995",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 296.111,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48056,
    "c": 0.18455,
    "h": 325.2
  },
  "luminance": 0.09507
}

Semantic roles & 50–950 ramp

primary
#8E2995
secondary
#65BA60
accent
#E04852
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2995

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

Preview Lab → · Contrast checker → · Palette generator →

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