#8E2FB6#8E2FB6

#8E2FB6 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.207 H 313.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8E2FB6
RGBrgb(142, 47, 182)
HSLhsl(282, 59%, 45%)
HSVhsv(282, 74%, 71%)
CMYKcmyk(22%, 74.2%, 0%, 28.6%)
CIE-LABlab(39.85, 59.67, -53.03)
CIE-LCHlch(39.85, 79.82, 318.37°)
OKLaboklab(50.8% 0.1427 -0.1497)
OKLCHoklch(50.8% 0.207 313.6)
XYZxyz(20.6139, 11.1619, 45.3155)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FB6 #57B62F
analogous
#4A2FB6 #8E2FB6 #B62F9B
triadic
#8E2FB6 #B68E2F #2FB68E
tetradic
#8E2FB6 #B64A2F #57B62F #2F9BB6
square
#8E2FB6 #B64A2F #57B62F #2F9BB6
split-complementary
#8E2FB6 #9BB62F #2FB64A
monochromatic
#421655 #682285 #8E2FB6 #AB50D2 #C381DE

Accessibility & contrast

On white

6.50
#8E2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8E2FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FB6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FB6#FFFFFF#000000##FFFFFF
##8E2FB61.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#8A4D70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2fb6;
/* rgb */ color: rgb(142, 47, 182);
/* oklch */ color: oklch(50.8% 0.207 313.6);
Tailwind
colors: {
  custom: {
    50: '#b371cd',
    500: '#8e2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fb6;
$custom-light: #b371cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fb6",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 282.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50804,
    "c": 0.20687,
    "h": 313.6
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#8E2FB6
secondary
#90C779
accent
#E24674
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8E2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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