#8E2FB2#8E2FB2

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

Color values

HEX#8E2FB2
RGBrgb(142, 47, 178)
HSLhsl(284, 58%, 44%)
HSVhsv(284, 74%, 70%)
CMYKcmyk(20.2%, 73.6%, 0%, 30.2%)
CIE-LABlab(39.58, 58.85, -51.10)
CIE-LCHlch(39.58, 77.94, 319.03°)
OKLaboklab(50.52% 0.1433 -0.1441)
OKLCHoklch(50.52% 0.203 314.8)
XYZxyz(20.2064, 10.9989, 43.1694)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FB2 #53B22F
analogous
#4C2FB2 #8E2FB2 #B22F95
triadic
#8E2FB2 #B28E2F #2FB28E
tetradic
#8E2FB2 #B24C2F #53B22F #2F95B2
square
#8E2FB2 #B24C2F #53B22F #2F95B2
split-complementary
#8E2FB2 #95B22F #2FB24C
monochromatic
#411551 #672282 #8E2FB2 #AC4ED0 #C37EDD

Accessibility & contrast

On white

6.56
#8E2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8E2FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FB2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FB2#FFFFFF#000000##FFFFFF
##8E2FB21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#2960AF
Tritanopia (blue-blind)
#8B4B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2fb2;
/* rgb */ color: rgb(142, 47, 178);
/* oklch */ color: oklch(50.5% 0.203 314.8);
Tailwind
colors: {
  custom: {
    50: '#b371ca',
    500: '#8e2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fb2;
$custom-light: #b371ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fb2",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 283.511,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50523,
    "c": 0.2032,
    "h": 314.8
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#8E2FB2
secondary
#8DC677
accent
#E14671
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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