#8E2FB5#8E2FB5

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

Color values

HEX#8E2FB5
RGBrgb(142, 47, 181)
HSLhsl(283, 59%, 45%)
HSVhsv(283, 74%, 71%)
CMYKcmyk(21.5%, 74%, 0%, 29%)
CIE-LABlab(39.78, 59.46, -52.55)
CIE-LCHlch(39.78, 79.35, 318.53°)
OKLaboklab(50.73% 0.1429 -0.1483)
OKLCHoklch(50.73% 0.206 313.9)
XYZxyz(20.5109, 11.1207, 44.7732)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FB5 #56B52F
analogous
#4B2FB5 #8E2FB5 #B52F99
triadic
#8E2FB5 #B58E2F #2FB58E
tetradic
#8E2FB5 #B54B2F #56B52F #2F99B5
square
#8E2FB5 #B54B2F #56B52F #2F99B5
split-complementary
#8E2FB5 #99B52F #2FB54B
monochromatic
#421654 #682284 #8E2FB5 #AC50D1 #C380DE

Accessibility & contrast

On white

6.51
#8E2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E2FB5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FB5#FFFFFF#000000##FFFFFF
##8E2FB51.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#2560B2
Tritanopia (blue-blind)
#8A4D70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2fb5;
/* rgb */ color: rgb(142, 47, 181);
/* oklch */ color: oklch(50.7% 0.206 313.9);
Tailwind
colors: {
  custom: {
    50: '#b371cc',
    500: '#8e2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fb5;
$custom-light: #b371cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fb5",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 282.537,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50733,
    "c": 0.20595,
    "h": 313.9
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#8E2FB5
secondary
#90C779
accent
#E24673
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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