#8E2CBF#8E2CBF

#8E2CBF is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.218 H 311.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8E2CBF
RGBrgb(142, 44, 191)
HSLhsl(280, 63%, 46%)
HSVhsv(280, 77%, 75%)
CMYKcmyk(25.7%, 77%, 0%, 25.1%)
CIE-LABlab(40.10, 62.62, -57.91)
CIE-LCHlch(40.10, 85.29, 317.24°)
OKLaboklab(51.18% 0.1439 -0.1641)
OKLCHoklch(51.18% 0.218 311.3)
XYZxyz(21.4582, 11.3143, 50.3336)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CBF #5DBF2C
analogous
#442CBF #8E2CBF #BF2CA6
triadic
#8E2CBF #BF8E2C #2CBF8E
tetradic
#8E2CBF #BF442C #5DBF2C #2CA6BF
square
#8E2CBF #BF442C #5DBF2C #2CA6BF
split-complementary
#8E2CBF #A6BF2C #2CBF44
monochromatic
#44155C #69218D #8E2CBF #AA51D7 #C383E2

Accessibility & contrast

On white

6.44
#8E2CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8E2CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2CBF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2CBF#FFFFFF#000000##FFFFFF
##8E2CBF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0760BC
Tritanopia (blue-blind)
#884F75
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2cbf;
/* rgb */ color: rgb(142, 44, 191);
/* oklch */ color: oklch(51.2% 0.218 311.3);
Tailwind
colors: {
  custom: {
    50: '#b470d3',
    500: '#8e2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #8e2cbf;
$custom-light: #b470d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2cbf",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 280,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.21824,
    "h": 311.3
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#8E2CBF
secondary
#96CC7B
accent
#E64279
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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