#8A70EE#8A70EE

#8A70EE is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.0% C 0.182 H 289.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A70EE
RGBrgb(138, 112, 238)
HSLhsl(252, 79%, 69%)
HSVhsv(252, 53%, 93%)
CMYKcmyk(42%, 52.9%, 0%, 6.7%)
CIE-LABlab(55.24, 39.69, -60.36)
CIE-LCHlch(55.24, 72.24, 303.32°)
OKLaboklab(63.04% 0.0612 -0.1716)
OKLCHoklch(63.04% 0.182 289.6)
XYZxyz(31.7037, 23.1636, 83.6729)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70EE #D4EE70
analogous
#7095EE #8A70EE #C970EE
triadic
#8A70EE #EE8A70 #70EE8A
tetradic
#8A70EE #EE7095 #D4EE70 #70EEC9
square
#8A70EE #EE7095 #D4EE70 #70EEC9
split-complementary
#8A70EE #EEC970 #95EE70
monochromatic
#3D18CB #5D39E7 #8A70EE #B7A7F5 #E4DDFB

Accessibility & contrast

On white

3.73
#8A70EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8A70EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70EE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70EE#FFFFFF#000000##000000
##8A70EE1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F2
Deuteranopia (green-blind)
#3781EB
Tritanopia (blue-blind)
#6D8BA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a70ee;
/* rgb */ color: rgb(138, 112, 238);
/* oklch */ color: oklch(63.0% 0.182 289.6);
Tailwind
colors: {
  custom: {
    50: '#b199f4',
    500: '#8a70ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a70ee;
$custom-light: #b199f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70ee",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 252.381,
    "s": 78.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63044,
    "c": 0.18218,
    "h": 289.6
  },
  "luminance": 0.23165
}

Semantic roles & 50–950 ramp

primary
#8A70EE
secondary
#E8F0CA
accent
#DB0AB0
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A70EE

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

Preview Lab → · Contrast checker → · Palette generator →

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