#8E2BB2#8E2BB2

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

Color values

HEX#8E2BB2
RGBrgb(142, 43, 178)
HSLhsl(284, 61%, 43%)
HSVhsv(284, 76%, 70%)
CMYKcmyk(20.2%, 75.8%, 0%, 30.2%)
CIE-LABlab(39.06, 60.34, -51.94)
CIE-LCHlch(39.06, 79.61, 319.28°)
OKLaboklab(50.16% 0.147 -0.1465)
OKLCHoklch(50.16% 0.208 315.1)
XYZxyz(20.0538, 10.6936, 43.1186)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BB2 #4FB22B
analogous
#4A2BB2 #8E2BB2 #B22B92
triadic
#8E2BB2 #B28E2B #2BB28E
tetradic
#8E2BB2 #B24A2B #4FB22B #2B92B2
square
#8E2BB2 #B24A2B #4FB22B #2B92B2
split-complementary
#8E2BB2 #92B22B #2BB24A
monochromatic
#3F134F #671F81 #8E2BB2 #AE48D3 #C379DF

Accessibility & contrast

On white

6.69
#8E2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8E2BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2BB2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BB2#FFFFFF#000000##FFFFFF
##8E2BB21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#255EAF
Tritanopia (blue-blind)
#8B496D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e2bb2;
/* rgb */ color: rgb(142, 43, 178);
/* oklch */ color: oklch(50.2% 0.208 315.1);
Tailwind
colors: {
  custom: {
    50: '#b36fca',
    500: '#8e2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8e2bb2;
$custom-light: #b36fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2bb2",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 284,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.20756,
    "h": 315.1
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#8E2BB2
secondary
#89C772
accent
#E4446E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8E2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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