#8E4FC0#8E4FC0

#8E4FC0 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.175 H 307.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8E4FC0
RGBrgb(142, 79, 192)
HSLhsl(273, 47%, 53%)
HSVhsv(273, 59%, 75%)
CMYKcmyk(26%, 58.9%, 0%, 24.7%)
CIE-LABlab(45.84, 47.12, -49.26)
CIE-LCHlch(45.84, 68.17, 313.73°)
OKLaboklab(55.32% 0.106 -0.1389)
OKLCHoklch(55.32% 0.175 307.3)
XYZxyz(23.4638, 15.1488, 51.5469)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FC0 #81C04F
analogous
#554FC0 #8E4FC0 #C04FB9
triadic
#8E4FC0 #C08E4F #4FC08E
tetradic
#8E4FC0 #C0554F #81C04F #4FB9C0
square
#8E4FC0 #C0554F #81C04F #4FB9C0
split-complementary
#8E4FC0 #B9C04F #4FC055
monochromatic
#4E276D #6F379A #8E4FC0 #AB7CD0 #C8A9E0

Accessibility & contrast

On white

5.21
#8E4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8E4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FC0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FC0#FFFFFF#000000##FFFFFF
##8E4FC01.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216AC4
Deuteranopia (green-blind)
#3D6DBD
Tritanopia (blue-blind)
#866580
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e4fc0;
/* rgb */ color: rgb(142, 79, 192);
/* oklch */ color: oklch(55.3% 0.175 307.3);
Tailwind
colors: {
  custom: {
    50: '#b283d4',
    500: '#8e4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fc0;
$custom-light: #b283d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fc0",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 273.451,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.17467,
    "h": 307.3
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#8E4FC0
secondary
#B3CE9D
accent
#D7518C
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8E4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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