#8E2FBE#8E2FBE

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

Color values

HEX#8E2FBE
RGBrgb(142, 47, 190)
HSLhsl(280, 60%, 46%)
HSVhsv(280, 75%, 75%)
CMYKcmyk(25.3%, 75.3%, 0%, 25.5%)
CIE-LABlab(40.41, 61.32, -56.82)
CIE-LCHlch(40.41, 83.60, 317.18°)
OKLaboklab(51.38% 0.1415 -0.1609)
OKLCHoklch(51.38% 0.214 311.3)
XYZxyz(21.4643, 11.5021, 49.7946)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FBE #5FBE2F
analogous
#462FBE #8E2FBE #BE2FA7
triadic
#8E2FBE #BE8E2F #2FBE8E
tetradic
#8E2FBE #BE462F #5FBE2F #2FA7BE
square
#8E2FBE #BE462F #5FBE2F #2FA7BE
split-complementary
#8E2FBE #A7BE2F #2FBE46
monochromatic
#45175C #69238D #8E2FBE #AA55D5 #C386E1

Accessibility & contrast

On white

6.36
#8E2FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8E2FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FBE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FBE#FFFFFF#000000##FFFFFF
##8E2FBE1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#1361BB
Tritanopia (blue-blind)
#885175
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e2fbe;
/* rgb */ color: rgb(142, 47, 190);
/* oklch */ color: oklch(51.4% 0.214 311.3);
Tailwind
colors: {
  custom: {
    50: '#b471d2',
    500: '#8e2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fbe;
$custom-light: #b471d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fbe",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 279.86,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51378,
    "c": 0.21424,
    "h": 311.3
  },
  "luminance": 0.11502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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