#8E2FB1#8E2FB1

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

Color values

HEX#8E2FB1
RGBrgb(142, 47, 177)
HSLhsl(284, 58%, 44%)
HSVhsv(284, 73%, 69%)
CMYKcmyk(19.8%, 73.4%, 0%, 30.6%)
CIE-LABlab(39.51, 58.65, -50.62)
CIE-LCHlch(39.51, 77.47, 319.20°)
OKLaboklab(50.45% 0.1434 -0.1427)
OKLCHoklch(50.45% 0.202 315.1)
XYZxyz(20.1064, 10.9589, 42.6426)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FB1 #52B12F
analogous
#4D2FB1 #8E2FB1 #B12F93
triadic
#8E2FB1 #B18E2F #2FB18E
tetradic
#8E2FB1 #B14D2F #52B12F #2F93B1
square
#8E2FB1 #B14D2F #52B12F #2F93B1
split-complementary
#8E2FB1 #93B12F #2FB14D
monochromatic
#401550 #672281 #8E2FB1 #AD4DD0 #C37EDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2FB1#FFFFFF#000000##FFFFFF
##8E2FB11.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)
#0058B5
Deuteranopia (green-blind)
#2A60AE
Tritanopia (blue-blind)
#8B4B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2fb1;
/* rgb */ color: rgb(142, 47, 177);
/* oklch */ color: oklch(50.5% 0.202 315.1);
Tailwind
colors: {
  custom: {
    50: '#b371c9',
    500: '#8e2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fb1;
$custom-light: #b371c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fb1",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 283.846,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.20228,
    "h": 315.1
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#8E2FB1
secondary
#8CC576
accent
#E14770
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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