#8E2DBB#8E2DBB

#8E2DBB is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.214 H 312.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8E2DBB
RGBrgb(142, 45, 187)
HSLhsl(281, 61%, 45%)
HSVhsv(281, 76%, 73%)
CMYKcmyk(24.1%, 75.9%, 0%, 26.7%)
CIE-LABlab(39.94, 61.44, -55.83)
CIE-LCHlch(39.94, 83.01, 317.74°)
OKLaboklab(50.98% 0.1438 -0.1579)
OKLCHoklch(50.98% 0.214 312.3)
XYZxyz(21.0617, 11.2160, 48.0595)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DBB #5ABB2D
analogous
#472DBB #8E2DBB #BB2DA1
triadic
#8E2DBB #BB8E2D #2DBB8E
tetradic
#8E2DBB #BB472D #5ABB2D #2DA1BB
square
#8E2DBB #BB472D #5ABB2D #2DA1BB
split-complementary
#8E2DBB #A1BB2D #2DBB47
monochromatic
#431558 #69218A #8E2DBB #AB50D5 #C382E1

Accessibility & contrast

On white

6.48
#8E2DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8E2DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DBB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DBB#FFFFFF#000000##FFFFFF
##8E2DBB1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#1760B8
Tritanopia (blue-blind)
#894E73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2dbb;
/* rgb */ color: rgb(142, 45, 187);
/* oklch */ color: oklch(51.0% 0.214 312.3);
Tailwind
colors: {
  custom: {
    50: '#b470d0',
    500: '#8e2dbb',
    950: '#000000',
  },
}
SCSS
$custom: #8e2dbb;
$custom-light: #b470d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2dbb",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 280.986,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50978,
    "c": 0.21358,
    "h": 312.3
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#8E2DBB
secondary
#93CA7A
accent
#E44376
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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