#8E2FA3#8E2FA3

#8E2FA3 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.190 H 319.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8E2FA3
RGBrgb(142, 47, 163)
HSLhsl(289, 55%, 41%)
HSVhsv(289, 71%, 64%)
CMYKcmyk(12.9%, 71.2%, 0%, 36.1%)
CIE-LABlab(38.60, 55.88, -43.73)
CIE-LCHlch(38.60, 70.95, 321.95°)
OKLaboklab(49.52% 0.1447 -0.1225)
OKLCHoklch(49.52% 0.19 319.8)
XYZxyz(18.7819, 10.4291, 35.6669)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FA3 #44A32F
analogous
#542FA3 #8E2FA3 #A32F7E
triadic
#8E2FA3 #A38E2F #2FA38E
tetradic
#8E2FA3 #A3542F #44A32F #2F7EA3
square
#8E2FA3 #A3542F #44A32F #2F7EA3
split-complementary
#8E2FA3 #7EA32F #2FA354
monochromatic
#3B1444 #652173 #8E2FA3 #B246CA #C575D7

Accessibility & contrast

On white

6.81
#8E2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8E2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FA3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FA3#FFFFFF#000000##FFFFFF
##8E2FA31.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#8E4566
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e2fa3;
/* rgb */ color: rgb(142, 47, 163);
/* oklch */ color: oklch(49.5% 0.190 319.8);
Tailwind
colors: {
  custom: {
    50: '#b370bf',
    500: '#8e2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fa3;
$custom-light: #b370bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fa3",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 289.138,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49516,
    "c": 0.18957,
    "h": 319.8
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

primary
#8E2FA3
secondary
#7DBF6F
accent
#DF4964
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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