#8A70EB#8A70EB

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

Color values

HEX#8A70EB
RGBrgb(138, 112, 235)
HSLhsl(253, 75%, 68%)
HSVhsv(253, 52%, 92%)
CMYKcmyk(41.3%, 52.3%, 0%, 7.8%)
CIE-LABlab(55.06, 38.86, -58.98)
CIE-LCHlch(55.06, 70.63, 303.38°)
OKLaboklab(62.85% 0.0611 -0.1675)
OKLCHoklch(62.85% 0.178 290)
XYZxyz(31.2667, 22.9888, 81.3710)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70EB #D1EB70
analogous
#7093EB #8A70EB #C770EB
triadic
#8A70EB #EB8A70 #70EB8A
tetradic
#8A70EB #EB7093 #D1EB70 #70EBC7
square
#8A70EB #EB7093 #D1EB70 #70EBC7
split-complementary
#8A70EB #EBC770 #93EB70
monochromatic
#3F1CC5 #5E3AE3 #8A70EB #B6A6F3 #E2DBFA

Accessibility & contrast

On white

3.75
#8A70EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8A70EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70EB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70EB#FFFFFF#000000##000000
##8A70EB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#3B81E8
Tritanopia (blue-blind)
#6F8AA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a70eb;
/* rgb */ color: rgb(138, 112, 235);
/* oklch */ color: oklch(62.9% 0.178 290.0);
Tailwind
colors: {
  custom: {
    50: '#b199f2',
    500: '#8a70eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a70eb;
$custom-light: #b199f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70eb",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 252.683,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62853,
    "c": 0.1783,
    "h": 290
  },
  "luminance": 0.2299
}

Semantic roles & 50–950 ramp

primary
#8A70EB
secondary
#E6EEC9
accent
#D80EAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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