#8E2BB3#8E2BB3

#8E2BB3 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.208 H 314.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8E2BB3
RGBrgb(142, 43, 179)
HSLhsl(284, 61%, 44%)
HSVhsv(284, 76%, 70%)
CMYKcmyk(20.7%, 76%, 0%, 29.8%)
CIE-LABlab(39.13, 60.54, -52.42)
CIE-LCHlch(39.13, 80.08, 319.11°)
OKLaboklab(50.23% 0.1469 -0.1479)
OKLCHoklch(50.23% 0.208 314.8)
XYZxyz(20.1545, 10.7339, 43.6493)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BB3 #50B32B
analogous
#4A2BB3 #8E2BB3 #B32B94
triadic
#8E2BB3 #B38E2B #2BB38E
tetradic
#8E2BB3 #B34A2B #50B32B #2B94B3
square
#8E2BB3 #B34A2B #50B32B #2B94B3
split-complementary
#8E2BB3 #94B32B #2BB34A
monochromatic
#401350 #671F82 #8E2BB3 #AD48D3 #C379DF

Accessibility & contrast

On white

6.67
#8E2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8E2BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2BB3
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BB3#FFFFFF#000000##FFFFFF
##8E2BB31.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#245FB0
Tritanopia (blue-blind)
#8B4A6E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e2bb3;
/* rgb */ color: rgb(142, 43, 179);
/* oklch */ color: oklch(50.2% 0.208 314.8);
Tailwind
colors: {
  custom: {
    50: '#b36fca',
    500: '#8e2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #8e2bb3;
$custom-light: #b36fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2bb3",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 283.676,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.20845,
    "h": 314.8
  },
  "luminance": 0.10733
}

Semantic roles & 50–950 ramp

primary
#8E2BB3
secondary
#8AC773
accent
#E4436F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8E2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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