#8E2694#8E2694

#8E2694 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.187 H 325.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8E2694
RGBrgb(142, 38, 148)
HSLhsl(297, 59%, 36%)
HSVhsv(297, 74%, 58%)
CMYKcmyk(4.1%, 74.3%, 0%, 42%)
CIE-LABlab(36.51, 56.44, -37.99)
CIE-LCHlch(36.51, 68.03, 326.05°)
OKLaboklab(47.73% 0.1545 -0.1057)
OKLCHoklch(47.73% 0.187 325.6)
XYZxyz(17.1934, 9.2763, 28.8961)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2694 #2C9426
analogous
#572694 #8E2694 #942663
triadic
#8E2694 #948E26 #26948E
tetradic
#8E2694 #945726 #2C9426 #266394
square
#8E2694 #945726 #2C9426 #266394
split-complementary
#8E2694 #639426 #269457
monochromatic
#310D33 #5F1963 #8E2694 #BD33C5 #CF5FD6

Accessibility & contrast

On white

7.36
#8E2694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8E2694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2694
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2694#FFFFFF#000000##FFFFFF
##8E26941.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034E97
Deuteranopia (green-blind)
#3E5A91
Tritanopia (blue-blind)
#91395B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2694;
/* rgb */ color: rgb(142, 38, 148);
/* oklch */ color: oklch(47.7% 0.187 325.6);
Tailwind
colors: {
  custom: {
    50: '#b36cb4',
    500: '#8e2694',
    950: '#000000',
  },
}
SCSS
$custom: #8e2694;
$custom-light: #b36cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2694",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 296.727,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47727,
    "c": 0.18713,
    "h": 325.6
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#8E2694
secondary
#60BB5B
accent
#E2454E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2694

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

Preview Lab → · Contrast checker → · Palette generator →

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