#8E2BC0#8E2BC0

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

Color values

HEX#8E2BC0
RGBrgb(142, 43, 192)
HSLhsl(280, 63%, 46%)
HSVhsv(280, 78%, 75%)
CMYKcmyk(26%, 77.6%, 0%, 24.7%)
CIE-LABlab(40.06, 63.18, -58.58)
CIE-LCHlch(40.06, 86.16, 317.17°)
OKLaboklab(51.17% 0.1446 -0.166)
OKLCHoklch(51.17% 0.22 311)
XYZxyz(21.5318, 11.2848, 50.9029)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BC0 #5DC02B
analogous
#442BC0 #8E2BC0 #C02BA7
triadic
#8E2BC0 #C08E2B #2BC08E
tetradic
#8E2BC0 #C0442B #5DC02B #2BA7C0
square
#8E2BC0 #C0442B #5DC02B #2BA7C0
split-complementary
#8E2BC0 #A7C02B #2BC044
monochromatic
#44155C #69208E #8E2BC0 #AA50D8 #C382E3

Accessibility & contrast

On white

6.45
#8E2BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E2BC0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BC0#FFFFFF#000000##FFFFFF
##8E2BC01.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#874F75
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2bc0;
/* rgb */ color: rgb(142, 43, 192);
/* oklch */ color: oklch(51.2% 0.220 311.0);
Tailwind
colors: {
  custom: {
    50: '#b470d4',
    500: '#8e2bc0',
    950: '#000000',
  },
}
SCSS
$custom: #8e2bc0;
$custom-light: #b470d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2bc0",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 279.866,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.22012,
    "h": 311
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E2BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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