#8E2EB3#8E2EB3

#8E2EB3 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.205 H 314.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8E2EB3
RGBrgb(142, 46, 179)
HSLhsl(283, 59%, 44%)
HSVhsv(283, 74%, 70%)
CMYKcmyk(20.7%, 74.3%, 0%, 29.8%)
CIE-LABlab(39.51, 59.43, -51.80)
CIE-LCHlch(39.51, 78.84, 318.93°)
OKLaboklab(50.5% 0.1441 -0.1461)
OKLCHoklch(50.5% 0.205 314.6)
XYZxyz(20.2677, 10.9602, 43.6870)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EB3 #53B32E
analogous
#4C2EB3 #8E2EB3 #B32E96
triadic
#8E2EB3 #B38E2E #2EB38E
tetradic
#8E2EB3 #B34C2E #53B32E #2E96B3
square
#8E2EB3 #B34C2E #53B32E #2E96B3
split-complementary
#8E2EB3 #96B32E #2EB34C
monochromatic
#411552 #672182 #8E2EB3 #AC4DD1 #C37EDE

Accessibility & contrast

On white

6.58
#8E2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8E2EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EB3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EB3#FFFFFF#000000##FFFFFF
##8E2EB31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#275FB0
Tritanopia (blue-blind)
#8B4B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2eb3;
/* rgb */ color: rgb(142, 46, 179);
/* oklch */ color: oklch(50.5% 0.205 314.6);
Tailwind
colors: {
  custom: {
    50: '#b371ca',
    500: '#8e2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #8e2eb3;
$custom-light: #b371ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2eb3",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 283.308,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50498,
    "c": 0.20523,
    "h": 314.6
  },
  "luminance": 0.10959
}

Semantic roles & 50–950 ramp

primary
#8E2EB3
secondary
#8DC676
accent
#E24671
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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