#8E2BAF#8E2BAF

#8E2BAF is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 49.9% C 0.205 H 316.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8E2BAF
RGBrgb(142, 43, 175)
HSLhsl(285, 61%, 43%)
HSVhsv(285, 75%, 69%)
CMYKcmyk(18.9%, 75.4%, 0%, 31.4%)
CIE-LABlab(38.85, 59.74, -50.49)
CIE-LCHlch(38.85, 78.22, 319.80°)
OKLaboklab(49.95% 0.1474 -0.1423)
OKLCHoklch(49.95% 0.205 316)
XYZxyz(19.7559, 10.5745, 41.5496)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BAF #4CAF2B
analogous
#4C2BAF #8E2BAF #AF2B8E
triadic
#8E2BAF #AF8E2B #2BAF8E
tetradic
#8E2BAF #AF4C2B #4CAF2B #2B8EAF
square
#8E2BAF #AF4C2B #4CAF2B #2B8EAF
split-complementary
#8E2BAF #8EAF2B #2BAF4C
monochromatic
#3E134D #661F7E #8E2BAF #AF46D1 #C477DE

Accessibility & contrast

On white

6.74
#8E2BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8E2BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2BAF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BAF#FFFFFF#000000##FFFFFF
##8E2BAF1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#295EAC
Tritanopia (blue-blind)
#8C486B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e2baf;
/* rgb */ color: rgb(142, 43, 175);
/* oklch */ color: oklch(49.9% 0.205 316.0);
Tailwind
colors: {
  custom: {
    50: '#b36fc8',
    500: '#8e2baf',
    950: '#000000',
  },
}
SCSS
$custom: #8e2baf;
$custom-light: #b36fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2baf",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 285,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49945,
    "c": 0.20488,
    "h": 316
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#8E2BAF
secondary
#86C570
accent
#E4446C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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