#8A70DD#8A70DD

#8A70DD is a mid, vivid violet. Relative luminance 0.222; OKLCH L 62.0% C 0.160 H 292.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A70DD
RGBrgb(138, 112, 221)
HSLhsl(254, 62%, 65%)
HSVhsv(254, 49%, 87%)
CMYKcmyk(37.6%, 49.3%, 0%, 13.3%)
CIE-LABlab(54.25, 35.05, -52.42)
CIE-LCHlch(54.25, 63.06, 303.77°)
OKLaboklab(61.99% 0.0601 -0.1483)
OKLCHoklch(61.99% 0.16 292.1)
XYZxyz(29.3231, 22.2113, 71.1349)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70DD #C3DD70
analogous
#708CDD #8A70DD #C070DD
triadic
#8A70DD #DD8A70 #70DD8A
tetradic
#8A70DD #DD708C #C3DD70 #70DDC0
square
#8A70DD #DD708C #C3DD70 #70DDC0
split-complementary
#8A70DD #DDC070 #8CDD70
monochromatic
#4728AA #623FD1 #8A70DD #B2A1E9 #DBD3F5

Accessibility & contrast

On white

3.86
#8A70DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8A70DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70DD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70DD#FFFFFF#000000##000000
##8A70DD1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#4A80DA
Tritanopia (blue-blind)
#75869C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a70dd;
/* rgb */ color: rgb(138, 112, 221);
/* oklch */ color: oklch(62.0% 0.160 292.1);
Tailwind
colors: {
  custom: {
    50: '#b099e8',
    500: '#8a70dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a70dd;
$custom-light: #b099e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70dd",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 254.312,
    "s": 61.582,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.15999,
    "h": 292.1
  },
  "luminance": 0.22212
}

Semantic roles & 50–950 ramp

primary
#8A70DD
secondary
#DEE7C2
accent
#C91CA0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A70DD

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

Preview Lab → · Contrast checker → · Palette generator →

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