#8E2EBF#8E2EBF

#8E2EBF is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.4% C 0.216 H 311.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8E2EBF
RGBrgb(142, 46, 191)
HSLhsl(280, 61%, 46%)
HSVhsv(280, 76%, 75%)
CMYKcmyk(25.7%, 75.9%, 0%, 25.1%)
CIE-LABlab(40.36, 61.90, -57.50)
CIE-LCHlch(40.36, 84.49, 317.11°)
OKLaboklab(51.36% 0.1422 -0.1629)
OKLCHoklch(51.36% 0.216 311.1)
XYZxyz(21.5345, 11.4669, 50.3590)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EBF #5FBF2E
analogous
#462EBF #8E2EBF #BF2EA8
triadic
#8E2EBF #BF8E2E #2EBF8E
tetradic
#8E2EBF #BF462E #5FBF2E #2EA8BF
square
#8E2EBF #BF462E #5FBF2E #2EA8BF
split-complementary
#8E2EBF #A8BF2E #2EBF46
monochromatic
#45165C #69228E #8E2EBF #AA54D6 #C386E2

Accessibility & contrast

On white

6.38
#8E2EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8E2EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EBF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EBF#FFFFFF#000000##FFFFFF
##8E2EBF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0D61BC
Tritanopia (blue-blind)
#885075
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e2ebf;
/* rgb */ color: rgb(142, 46, 191);
/* oklch */ color: oklch(51.4% 0.216 311.1);
Tailwind
colors: {
  custom: {
    50: '#b471d3',
    500: '#8e2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ebf;
$custom-light: #b471d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ebf",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 279.724,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.21621,
    "h": 311.1
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#8E2EBF
secondary
#98CB7E
accent
#E4447A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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