#8E2FBC#8E2FBC

#8E2FBC is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.212 H 311.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8E2FBC
RGBrgb(142, 47, 188)
HSLhsl(280, 60%, 46%)
HSVhsv(280, 75%, 74%)
CMYKcmyk(24.5%, 75%, 0%, 26.3%)
CIE-LABlab(40.27, 60.91, -55.88)
CIE-LCHlch(40.27, 82.66, 317.46°)
OKLaboklab(51.23% 0.1418 -0.1581)
OKLCHoklch(51.23% 0.212 311.9)
XYZxyz(21.2473, 11.4152, 48.6513)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FBC #5DBC2F
analogous
#482FBC #8E2FBC #BC2FA3
triadic
#8E2FBC #BC8E2F #2FBC8E
tetradic
#8E2FBC #BC482F #5DBC2F #2FA3BC
square
#8E2FBC #BC482F #5DBC2F #2FA3BC
split-complementary
#8E2FBC #A3BC2F #2FBC48
monochromatic
#44175A #69238B #8E2FBC #AA54D4 #C385E0

Accessibility & contrast

On white

6.40
#8E2FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8E2FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FBC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FBC#FFFFFF#000000##FFFFFF
##8E2FBC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#885074
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e2fbc;
/* rgb */ color: rgb(142, 47, 188);
/* oklch */ color: oklch(51.2% 0.212 311.9);
Tailwind
colors: {
  custom: {
    50: '#b471d1',
    500: '#8e2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fbc;
$custom-light: #b471d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fbc",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 280.426,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51233,
    "c": 0.2124,
    "h": 311.9
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#8E2FBC
secondary
#96CA7D
accent
#E34578
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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