#8A70DE#8A70DE

#8A70DE is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.0% C 0.161 H 291.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A70DE
RGBrgb(138, 112, 222)
HSLhsl(254, 63%, 65%)
HSVhsv(254, 50%, 87%)
CMYKcmyk(37.8%, 49.5%, 0%, 12.9%)
CIE-LABlab(54.31, 35.32, -52.89)
CIE-LCHlch(54.31, 63.60, 303.73°)
OKLaboklab(62.05% 0.0602 -0.1497)
OKLCHoklch(62.05% 0.161 291.9)
XYZxyz(29.4567, 22.2648, 71.8386)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70DE #C4DE70
analogous
#708DDE #8A70DE #C170DE
triadic
#8A70DE #DE8A70 #70DE8A
tetradic
#8A70DE #DE708D #C4DE70 #70DEC1
square
#8A70DE #DE708D #C4DE70 #70DEC1
split-complementary
#8A70DE #DEC170 #8DDE70
monochromatic
#4728AC #613ED3 #8A70DE #B3A2E9 #DBD3F5

Accessibility & contrast

On white

3.85
#8A70DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A70DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70DE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70DE#FFFFFF#000000##000000
##8A70DE1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E2
Deuteranopia (green-blind)
#4980DB
Tritanopia (blue-blind)
#74869D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a70de;
/* rgb */ color: rgb(138, 112, 222);
/* oklch */ color: oklch(62.0% 0.161 291.9);
Tailwind
colors: {
  custom: {
    50: '#b099e9',
    500: '#8a70de',
    950: '#000000',
  },
}
SCSS
$custom: #8a70de;
$custom-light: #b099e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70de",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 222
  },
  "hsl": {
    "h": 254.182,
    "s": 62.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62048,
    "c": 0.16131,
    "h": 291.9
  },
  "luminance": 0.22266
}

Semantic roles & 50–950 ramp

primary
#8A70DE
secondary
#DFE7C2
accent
#CA1BA1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A70DE

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

Preview Lab → · Contrast checker → · Palette generator →

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