#8E4FE6#8E4FE6

#8E4FE6 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.217 H 298.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8E4FE6
RGBrgb(142, 79, 230)
HSLhsl(265, 75%, 61%)
HSVhsv(265, 66%, 90%)
CMYKcmyk(38.3%, 65.7%, 0%, 9.8%)
CIE-LABlab(48.33, 56.32, -67.00)
CIE-LCHlch(48.33, 87.53, 310.05°)
OKLaboklab(57.92% 0.1037 -0.191)
OKLCHoklch(57.92% 0.217 298.5)
XYZxyz(28.2306, 17.0555, 76.6523)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FE6 #A7E64F
analogous
#4F5BE6 #8E4FE6 #D94FE6
triadic
#8E4FE6 #E68E4F #4FE68E
tetradic
#8E4FE6 #E64F5B #A7E64F #4FE6D9
square
#8E4FE6 #E64F5B #A7E64F #4FE6D9
split-complementary
#8E4FE6 #E6D94F #5BE64F
monochromatic
#5217A3 #6C1FD9 #8E4FE6 #B085EE #D3BAF5

Accessibility & contrast

On white

4.76
#8E4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8E4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FE6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FE6#FFFFFF#000000##FFFFFF
##8E4FE61.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#797294
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e4fe6;
/* rgb */ color: rgb(142, 79, 230);
/* oklch */ color: oklch(57.9% 0.217 298.5);
Tailwind
colors: {
  custom: {
    50: '#b584ef',
    500: '#8e4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fe6;
$custom-light: #b584ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fe6",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 265.033,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57916,
    "c": 0.21733,
    "h": 298.5
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#8E4FE6
secondary
#CDE5AC
accent
#D70E83
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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