#8E4FE3#8E4FE3

#8E4FE3 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.214 H 299.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8E4FE3
RGBrgb(142, 79, 227)
HSLhsl(266, 73%, 60%)
HSVhsv(266, 65%, 89%)
CMYKcmyk(37.4%, 65.2%, 0%, 11%)
CIE-LABlab(48.12, 55.57, -65.65)
CIE-LCHlch(48.12, 86.01, 310.25°)
OKLaboklab(57.7% 0.104 -0.187)
OKLCHoklch(57.7% 0.214 299.1)
XYZxyz(27.8130, 16.8885, 74.4526)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FE3 #A4E34F
analogous
#4F5AE3 #8E4FE3 #D84FE3
triadic
#8E4FE3 #E38E4F #4FE38E
tetradic
#8E4FE3 #E34F5A #A4E34F #4FE3D8
square
#8E4FE3 #E34F5A #A4E34F #4FE3D8
split-complementary
#8E4FE3 #E3D84F #5AE34F
monochromatic
#52199E #6D22D3 #8E4FE3 #B084EB #D2B9F4

Accessibility & contrast

On white

4.80
#8E4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8E4FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FE3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FE3#FFFFFF#000000##FFFFFF
##8E4FE31.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#7A7192
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e4fe3;
/* rgb */ color: rgb(142, 79, 227);
/* oklch */ color: oklch(57.7% 0.214 299.1);
Tailwind
colors: {
  custom: {
    50: '#b584ed',
    500: '#8e4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fe3;
$custom-light: #b584ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fe3",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 265.541,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.57698,
    "c": 0.21399,
    "h": 299.1
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#8E4FE3
secondary
#CBE3AA
accent
#EF39A1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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