#8A70EC#8A70EC

#8A70EC is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.9% C 0.180 H 289.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A70EC
RGBrgb(138, 112, 236)
HSLhsl(253, 77%, 68%)
HSVhsv(253, 53%, 93%)
CMYKcmyk(41.5%, 52.5%, 0%, 7.5%)
CIE-LABlab(55.12, 39.14, -59.44)
CIE-LCHlch(55.12, 71.17, 303.36°)
OKLaboklab(62.92% 0.0611 -0.1689)
OKLCHoklch(62.92% 0.18 289.9)
XYZxyz(31.4115, 23.0467, 82.1340)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70EC #D2EC70
analogous
#7094EC #8A70EC #C870EC
triadic
#8A70EC #EC8A70 #70EC8A
tetradic
#8A70EC #EC7094 #D2EC70 #70ECC8
square
#8A70EC #EC7094 #D2EC70 #70ECC8
split-complementary
#8A70EC #ECC870 #94EC70
monochromatic
#3F1AC7 #5E3AE5 #8A70EC #B6A6F3 #E2DCFA

Accessibility & contrast

On white

3.74
#8A70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8A70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70EC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70EC#FFFFFF#000000##000000
##8A70EC1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686F0
Deuteranopia (green-blind)
#3981E9
Tritanopia (blue-blind)
#6E8AA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a70ec;
/* rgb */ color: rgb(138, 112, 236);
/* oklch */ color: oklch(62.9% 0.180 289.9);
Tailwind
colors: {
  custom: {
    50: '#b199f3',
    500: '#8a70ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a70ec;
$custom-light: #b199f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70ec",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 252.581,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62916,
    "c": 0.1796,
    "h": 289.9
  },
  "luminance": 0.23048
}

Semantic roles & 50–950 ramp

primary
#8A70EC
secondary
#E7EFC9
accent
#D90DAE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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