#8E70F4#8E70F4

#8E70F4 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.8% C 0.190 H 290.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8E70F4
RGBrgb(142, 112, 244)
HSLhsl(254, 86%, 70%)
HSVhsv(254, 54%, 96%)
CMYKcmyk(41.8%, 54.1%, 0%, 4.3%)
CIE-LABlab(55.96, 42.23, -62.53)
CIE-LCHlch(55.96, 75.46, 304.03°)
OKLaboklab(63.78% 0.0663 -0.1778)
OKLCHoklch(63.78% 0.19 290.5)
XYZxyz(33.2741, 23.8697, 88.4246)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E70F4 #D6F470
analogous
#7094F4 #8E70F4 #D070F4
triadic
#8E70F4 #F48E70 #70F48E
tetradic
#8E70F4 #F47094 #D6F470 #70F4D0
square
#8E70F4 #F47094 #D6F470 #70F4D0
split-complementary
#8E70F4 #F4D070 #94F470
monochromatic
#3E11D9 #6137F0 #8E70F4 #BBA9F8 #E8E2FD

Accessibility & contrast

On white

3.64
#8E70F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8E70F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E70F4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E70F4#FFFFFF#000000##000000
##8E70F41.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D88F8
Deuteranopia (green-blind)
#3383F1
Tritanopia (blue-blind)
#718CA7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e70f4;
/* rgb */ color: rgb(142, 112, 244);
/* oklch */ color: oklch(63.8% 0.190 290.5);
Tailwind
colors: {
  custom: {
    50: '#b59af8',
    500: '#8e70f4',
    950: '#000000',
  },
}
SCSS
$custom: #8e70f4;
$custom-light: #b59af8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e70f4",
  "rgb": {
    "r": 142,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 253.636,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63778,
    "c": 0.18982,
    "h": 290.5
  },
  "luminance": 0.23871
}

Semantic roles & 50–950 ramp

primary
#8E70F4
secondary
#EAF3CD
accent
#E203B0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8E70F4

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

Preview Lab → · Contrast checker → · Palette generator →

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