#8E4BCA#8E4BCA

#8E4BCA is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.192 H 305.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8E4BCA
RGBrgb(142, 75, 202)
HSLhsl(272, 55%, 54%)
HSVhsv(272, 63%, 79%)
CMYKcmyk(29.7%, 62.9%, 0%, 20.8%)
CIE-LABlab(45.70, 51.53, -55.27)
CIE-LCHlch(45.70, 75.56, 312.99°)
OKLaboklab(55.42% 0.1106 -0.1565)
OKLCHoklch(55.42% 0.192 305.2)
XYZxyz(24.3297, 15.0474, 57.4884)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BCA #87CA4B
analogous
#4F4BCA #8E4BCA #CA4BC6
triadic
#8E4BCA #CA8E4B #4BCA8E
tetradic
#8E4BCA #CA4F4B #87CA4B #4BC6CA
square
#8E4BCA #CA4F4B #87CA4B #4BC6CA
split-complementary
#8E4BCA #C6CA4B #4BCA4F
monochromatic
#502377 #6F31A7 #8E4BCA #AC7AD8 #C9AAE6

Accessibility & contrast

On white

5.24
#8E4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8E4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BCA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BCA#FFFFFF#000000##FFFFFF
##8E4BCA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#2C6CC7
Tritanopia (blue-blind)
#836584
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e4bca;
/* rgb */ color: rgb(142, 75, 202);
/* oklch */ color: oklch(55.4% 0.192 305.2);
Tailwind
colors: {
  custom: {
    50: '#b381db',
    500: '#8e4bca',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bca;
$custom-light: #b381db;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bca",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 271.654,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55417,
    "c": 0.19162,
    "h": 305.2
  },
  "luminance": 0.15047
}

Semantic roles & 50–950 ramp

primary
#8E4BCA
secondary
#B7D39D
accent
#DE4A90
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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