#8E70DF#8E70DF

#8E70DF is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.5% C 0.163 H 293.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8E70DF
RGBrgb(142, 112, 223)
HSLhsl(256, 63%, 66%)
HSVhsv(256, 50%, 87%)
CMYKcmyk(36.3%, 49.8%, 0%, 12.5%)
CIE-LABlab(54.73, 36.58, -52.76)
CIE-LCHlch(54.73, 64.20, 304.73°)
OKLaboklab(62.47% 0.0652 -0.1492)
OKLCHoklch(62.47% 0.163 293.6)
XYZxyz(30.2653, 22.6662, 72.5782)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E70DF #C1DF70
analogous
#7089DF #8E70DF #C570DF
triadic
#8E70DF #DF8E70 #70DF8E
tetradic
#8E70DF #DF7089 #C1DF70 #70DFC5
square
#8E70DF #DF7089 #C1DF70 #70DFC5
split-complementary
#8E70DF #DFC570 #89DF70
monochromatic
#4B27AE #663ED4 #8E70DF #B6A2EA #DDD4F5

Accessibility & contrast

On white

3.80
#8E70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8E70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E70DF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E70DF#FFFFFF#000000##000000
##8E70DF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#4B81DC
Tritanopia (blue-blind)
#7A869D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e70df;
/* rgb */ color: rgb(142, 112, 223);
/* oklch */ color: oklch(62.5% 0.163 293.6);
Tailwind
colors: {
  custom: {
    50: '#b399e9',
    500: '#8e70df',
    950: '#000000',
  },
}
SCSS
$custom: #8e70df;
$custom-light: #b399e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e70df",
  "rgb": {
    "r": 142,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 256.216,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62467,
    "c": 0.16279,
    "h": 293.6
  },
  "luminance": 0.22667
}

Semantic roles & 50–950 ramp

primary
#8E70DF
secondary
#DEE8C3
accent
#CB1A9B
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8E70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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