#8A70E8#8A70E8

#8A70E8 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.7% C 0.174 H 290.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A70E8
RGBrgb(138, 112, 232)
HSLhsl(253, 72%, 67%)
HSVhsv(253, 52%, 91%)
CMYKcmyk(40.5%, 51.7%, 0%, 9%)
CIE-LABlab(54.88, 38.04, -57.58)
CIE-LCHlch(54.88, 69.01, 303.45°)
OKLaboklab(62.66% 0.0609 -0.1634)
OKLCHoklch(62.66% 0.174 290.4)
XYZxyz(30.8369, 22.8169, 79.1076)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70E8 #CEE870
analogous
#7092E8 #8A70E8 #C670E8
triadic
#8A70E8 #E88A70 #70E88A
tetradic
#8A70E8 #E87092 #CEE870 #70E8C6
square
#8A70E8 #E87092 #CEE870 #70E8C6
split-complementary
#8A70E8 #E8C670 #92E870
monochromatic
#411FBF #5F3BE0 #8A70E8 #B5A5F0 #E0D9F9

Accessibility & contrast

On white

3.77
#8A70E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8A70E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70E8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70E8#FFFFFF#000000##000000
##8A70E81.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86EC
Deuteranopia (green-blind)
#3E81E5
Tritanopia (blue-blind)
#7089A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a70e8;
/* rgb */ color: rgb(138, 112, 232);
/* oklch */ color: oklch(62.7% 0.174 290.4);
Tailwind
colors: {
  custom: {
    50: '#b199f0',
    500: '#8a70e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a70e8;
$custom-light: #b199f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70e8",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 253,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62664,
    "c": 0.17441,
    "h": 290.4
  },
  "luminance": 0.22818
}

Semantic roles & 50–950 ramp

primary
#8A70E8
secondary
#E5EDC7
accent
#D411AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A70E8

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

Preview Lab → · Contrast checker → · Palette generator →

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