#8A70EF#8A70EF

#8A70EF is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.1% C 0.183 H 289.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A70EF
RGBrgb(138, 112, 239)
HSLhsl(252, 80%, 69%)
HSVhsv(252, 53%, 94%)
CMYKcmyk(42.3%, 53.1%, 0%, 6.3%)
CIE-LABlab(55.30, 39.96, -60.82)
CIE-LCHlch(55.30, 72.78, 303.31°)
OKLaboklab(63.11% 0.0613 -0.1729)
OKLCHoklch(63.11% 0.183 289.5)
XYZxyz(31.8510, 23.2225, 84.4488)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70EF #D5EF70
analogous
#7096EF #8A70EF #C970EF
triadic
#8A70EF #EF8A70 #70EF8A
tetradic
#8A70EF #EF7096 #D5EF70 #70EFC9
square
#8A70EF #EF7096 #D5EF70 #70EFC9
split-complementary
#8A70EF #EFC970 #96EF70
monochromatic
#3C17CE #5D39E9 #8A70EF #B7A7F5 #E4DEFB

Accessibility & contrast

On white

3.72
#8A70EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8A70EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70EF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70EF#FFFFFF#000000##000000
##8A70EF1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F3
Deuteranopia (green-blind)
#3581EC
Tritanopia (blue-blind)
#6D8BA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a70ef;
/* rgb */ color: rgb(138, 112, 239);
/* oklch */ color: oklch(63.1% 0.183 289.5);
Tailwind
colors: {
  custom: {
    50: '#b299f5',
    500: '#8a70ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a70ef;
$custom-light: #b299f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70ef",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 252.283,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63108,
    "c": 0.18347,
    "h": 289.5
  },
  "luminance": 0.23224
}

Semantic roles & 50–950 ramp

primary
#8A70EF
secondary
#E8F0CB
accent
#DC09B1
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A70EF

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

Preview Lab → · Contrast checker → · Palette generator →

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