#8E2BC1#8E2BC1

#8E2BC1 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.2% C 0.221 H 310.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8E2BC1
RGBrgb(142, 43, 193)
HSLhsl(280, 64%, 46%)
HSVhsv(280, 78%, 76%)
CMYKcmyk(26.4%, 77.7%, 0%, 24.3%)
CIE-LABlab(40.13, 63.39, -59.04)
CIE-LCHlch(40.13, 86.62, 317.03°)
OKLaboklab(51.25% 0.1444 -0.1674)
OKLCHoklch(51.25% 0.221 310.8)
XYZxyz(21.6430, 11.3293, 51.4884)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BC1 #5EC12B
analogous
#432BC1 #8E2BC1 #C12BA9
triadic
#8E2BC1 #C18E2B #2BC18E
tetradic
#8E2BC1 #C1432B #5EC12B #2BA9C1
square
#8E2BC1 #C1432B #5EC12B #2BA9C1
split-complementary
#8E2BC1 #A9C12B #2BC143
monochromatic
#44155D #69208F #8E2BC1 #AA51D8 #C383E3

Accessibility & contrast

On white

6.43
#8E2BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8E2BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2BC1
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BC1#FFFFFF#000000##FFFFFF
##8E2BC11.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#875076
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e2bc1;
/* rgb */ color: rgb(142, 43, 193);
/* oklch */ color: oklch(51.2% 0.221 310.8);
Tailwind
colors: {
  custom: {
    50: '#b470d5',
    500: '#8e2bc1',
    950: '#000000',
  },
}
SCSS
$custom: #8e2bc1;
$custom-light: #b470d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2bc1",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 193
  },
  "hsl": {
    "h": 279.6,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.22103,
    "h": 310.8
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#8E2BC1
secondary
#97CC7B
accent
#E74179
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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