#8E70DB#8E70DB

#8E70DB is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.2% C 0.158 H 294.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8E70DB
RGBrgb(142, 112, 219)
HSLhsl(257, 60%, 65%)
HSVhsv(257, 49%, 86%)
CMYKcmyk(35.2%, 48.9%, 0%, 14.1%)
CIE-LABlab(54.50, 35.52, -50.87)
CIE-LCHlch(54.50, 62.04, 304.93°)
OKLaboklab(62.23% 0.0648 -0.1436)
OKLCHoklch(62.23% 0.158 294.3)
XYZxyz(29.7324, 22.4530, 69.7715)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E70DB #BDDB70
analogous
#7088DB #8E70DB #C370DB
triadic
#8E70DB #DB8E70 #70DB8E
tetradic
#8E70DB #DB7088 #BDDB70 #70DBC3
square
#8E70DB #DB7088 #BDDB70 #70DBC3
split-complementary
#8E70DB #DBC370 #88DB70
monochromatic
#4D2AA7 #673FCF #8E70DB #B5A1E7 #DBD2F4

Accessibility & contrast

On white

3.82
#8E70DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8E70DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E70DB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E70DB#FFFFFF#000000##000000
##8E70DB1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DF
Deuteranopia (green-blind)
#4F81D8
Tritanopia (blue-blind)
#7C859B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8e70db;
/* rgb */ color: rgb(142, 112, 219);
/* oklch */ color: oklch(62.2% 0.158 294.3);
Tailwind
colors: {
  custom: {
    50: '#b299e7',
    500: '#8e70db',
    950: '#000000',
  },
}
SCSS
$custom: #8e70db;
$custom-light: #b299e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e70db",
  "rgb": {
    "r": 142,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 256.822,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62228,
    "c": 0.15756,
    "h": 294.3
  },
  "luminance": 0.22454
}

Semantic roles & 50–950 ramp

primary
#8E70DB
secondary
#DBE6C1
accent
#C71E98
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8E70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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