#8E2FB3#8E2FB3

#8E2FB3 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.204 H 314.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8E2FB3
RGBrgb(142, 47, 179)
HSLhsl(283, 58%, 44%)
HSVhsv(283, 74%, 70%)
CMYKcmyk(20.7%, 73.7%, 0%, 29.8%)
CIE-LABlab(39.65, 59.05, -51.58)
CIE-LCHlch(39.65, 78.41, 318.86°)
OKLaboklab(50.59% 0.1431 -0.1455)
OKLCHoklch(50.59% 0.204 314.5)
XYZxyz(20.3072, 11.0392, 43.7002)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FB3 #54B32F
analogous
#4C2FB3 #8E2FB3 #B32F96
triadic
#8E2FB3 #B38E2F #2FB38E
tetradic
#8E2FB3 #B34C2F #54B32F #2F96B3
square
#8E2FB3 #B34C2F #54B32F #2F96B3
split-complementary
#8E2FB3 #96B32F #2FB34C
monochromatic
#411652 #682283 #8E2FB3 #AC4FD1 #C37FDD

Accessibility & contrast

On white

6.55
#8E2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8E2FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FB3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FB3#FFFFFF#000000##FFFFFF
##8E2FB31.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#8B4C6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2fb3;
/* rgb */ color: rgb(142, 47, 179);
/* oklch */ color: oklch(50.6% 0.204 314.5);
Tailwind
colors: {
  custom: {
    50: '#b371ca',
    500: '#8e2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fb3;
$custom-light: #b371ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fb3",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 283.182,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.20411,
    "h": 314.5
  },
  "luminance": 0.11038
}

Semantic roles & 50–950 ramp

primary
#8E2FB3
secondary
#8EC678
accent
#E24672
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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