#8A70DC#8A70DC

#8A70DC is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.9% C 0.159 H 292.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A70DC
RGBrgb(138, 112, 220)
HSLhsl(254, 61%, 65%)
HSVhsv(254, 49%, 86%)
CMYKcmyk(37.3%, 49.1%, 0%, 13.7%)
CIE-LABlab(54.19, 34.78, -51.95)
CIE-LCHlch(54.19, 62.51, 303.80°)
OKLaboklab(61.93% 0.06 -0.1469)
OKLCHoklch(61.93% 0.159 292.2)
XYZxyz(29.1902, 22.1582, 70.4353)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70DC #C2DC70
analogous
#708CDC #8A70DC #C070DC
triadic
#8A70DC #DC8A70 #70DC8A
tetradic
#8A70DC #DC708C #C2DC70 #70DCC0
square
#8A70DC #DC708C #C2DC70 #70DCC0
split-complementary
#8A70DC #DCC070 #8CDC70
monochromatic
#4829A8 #623FD0 #8A70DC #B2A1E8 #DAD2F4

Accessibility & contrast

On white

3.87
#8A70DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8A70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70DC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70DC#FFFFFF#000000##000000
##8A70DC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783E0
Deuteranopia (green-blind)
#4B80D9
Tritanopia (blue-blind)
#75869C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a70dc;
/* rgb */ color: rgb(138, 112, 220);
/* oklch */ color: oklch(61.9% 0.159 292.2);
Tailwind
colors: {
  custom: {
    50: '#b099e7',
    500: '#8a70dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a70dc;
$custom-light: #b099e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70dc",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 254.444,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61927,
    "c": 0.15867,
    "h": 292.2
  },
  "luminance": 0.22159
}

Semantic roles & 50–950 ramp

primary
#8A70DC
secondary
#DDE6C2
accent
#C81D9F
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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