#8E2FB4#8E2FB4

#8E2FB4 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.205 H 314.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8E2FB4
RGBrgb(142, 47, 180)
HSLhsl(283, 59%, 45%)
HSVhsv(283, 74%, 71%)
CMYKcmyk(21.1%, 73.9%, 0%, 29.4%)
CIE-LABlab(39.71, 59.26, -52.07)
CIE-LCHlch(39.71, 78.88, 318.70°)
OKLaboklab(50.66% 0.143 -0.1469)
OKLCHoklch(50.66% 0.205 314.2)
XYZxyz(20.4087, 11.0798, 44.2347)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FB4 #55B42F
analogous
#4C2FB4 #8E2FB4 #B42F98
triadic
#8E2FB4 #B48E2F #2FB48E
tetradic
#8E2FB4 #B44C2F #55B42F #2F98B4
square
#8E2FB4 #B44C2F #55B42F #2F98B4
split-complementary
#8E2FB4 #98B42F #2FB44C
monochromatic
#411653 #682283 #8E2FB4 #AC4FD1 #C380DE

Accessibility & contrast

On white

6.53
#8E2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8E2FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FB4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FB4#FFFFFF#000000##FFFFFF
##8E2FB41.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#8A4C6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2fb4;
/* rgb */ color: rgb(142, 47, 180);
/* oklch */ color: oklch(50.7% 0.205 314.2);
Tailwind
colors: {
  custom: {
    50: '#b371cb',
    500: '#8e2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fb4;
$custom-light: #b371cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fb4",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 282.857,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50663,
    "c": 0.20503,
    "h": 314.2
  },
  "luminance": 0.11079
}

Semantic roles & 50–950 ramp

primary
#8E2FB4
secondary
#8FC778
accent
#E24673
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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