#8E2795#8E2795

#8E2795 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.187 H 325.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8E2795
RGBrgb(142, 39, 149)
HSLhsl(296, 59%, 37%)
HSVhsv(296, 74%, 58%)
CMYKcmyk(4.7%, 73.8%, 0%, 41.6%)
CIE-LABlab(36.69, 56.27, -38.31)
CIE-LCHlch(36.69, 68.07, 325.75°)
OKLaboklab(47.88% 0.1535 -0.1066)
OKLCHoklch(47.88% 0.187 325.2)
XYZxyz(17.3053, 9.3729, 29.3256)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2795 #2E9527
analogous
#572795 #8E2795 #952765
triadic
#8E2795 #958E27 #27958E
tetradic
#8E2795 #955727 #2E9527 #276595
square
#8E2795 #955727 #2E9527 #276595
split-complementary
#8E2795 #659527 #279557
monochromatic
#320E34 #601A64 #8E2795 #BC34C6 #CE61D6

Accessibility & contrast

On white

7.31
#8E2795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8E2795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2795
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2795#FFFFFF#000000##FFFFFF
##8E27951.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034E98
Deuteranopia (green-blind)
#3E5B92
Tritanopia (blue-blind)
#913A5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2795;
/* rgb */ color: rgb(142, 39, 149);
/* oklch */ color: oklch(47.9% 0.187 325.2);
Tailwind
colors: {
  custom: {
    50: '#b36cb5',
    500: '#8e2795',
    950: '#000000',
  },
}
SCSS
$custom: #8e2795;
$custom-light: #b36cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2795",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 296.182,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47876,
    "c": 0.18684,
    "h": 325.2
  },
  "luminance": 0.09372
}

Semantic roles & 50–950 ramp

primary
#8E2795
secondary
#63BB5D
accent
#E24650
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2795

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

Preview Lab → · Contrast checker → · Palette generator →

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