#8E2695#8E2695

#8E2695 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.188 H 325.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8E2695
RGBrgb(142, 38, 149)
HSLhsl(296, 59%, 37%)
HSVhsv(296, 74%, 58%)
CMYKcmyk(4.7%, 74.5%, 0%, 41.6%)
CIE-LABlab(36.57, 56.61, -38.50)
CIE-LCHlch(36.57, 68.47, 325.78°)
OKLaboklab(47.79% 0.1544 -0.1072)
OKLCHoklch(47.79% 0.188 325.2)
XYZxyz(17.2729, 9.3081, 29.3148)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2695 #2D9526
analogous
#572695 #8E2695 #952665
triadic
#8E2695 #958E26 #26958E
tetradic
#8E2695 #955726 #2D9526 #266595
square
#8E2695 #955726 #2D9526 #266595
split-complementary
#8E2695 #659526 #269557
monochromatic
#310D33 #601A64 #8E2695 #BC32C6 #CF5FD6

Accessibility & contrast

On white

7.34
#8E2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8E2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2695
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2695#FFFFFF#000000##FFFFFF
##8E26951.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#3E5A92
Tritanopia (blue-blind)
#91395C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2695;
/* rgb */ color: rgb(142, 38, 149);
/* oklch */ color: oklch(47.8% 0.188 325.2);
Tailwind
colors: {
  custom: {
    50: '#b36cb5',
    500: '#8e2695',
    950: '#000000',
  },
}
SCSS
$custom: #8e2695;
$custom-light: #b36cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2695",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 296.216,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47789,
    "c": 0.18795,
    "h": 325.2
  },
  "luminance": 0.09307
}

Semantic roles & 50–950 ramp

primary
#8E2695
secondary
#61BB5B
accent
#E3454F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2695

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

Preview Lab → · Contrast checker → · Palette generator →

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