#8A70DB#8A70DB

#8A70DB is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.9% C 0.157 H 292.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8A70DB
RGBrgb(138, 112, 219)
HSLhsl(255, 60%, 65%)
HSVhsv(255, 49%, 86%)
CMYKcmyk(37%, 48.9%, 0%, 14.1%)
CIE-LABlab(54.14, 34.51, -51.47)
CIE-LCHlch(54.14, 61.97, 303.84°)
OKLaboklab(61.87% 0.0599 -0.1455)
OKLCHoklch(61.87% 0.157 292.4)
XYZxyz(29.0582, 22.1054, 69.7399)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70DB #C1DB70
analogous
#708CDB #8A70DB #BF70DB
triadic
#8A70DB #DB8A70 #70DB8A
tetradic
#8A70DB #DB708C #C1DB70 #70DBBF
square
#8A70DB #DB708C #C1DB70 #70DBBF
split-complementary
#8A70DB #DBBF70 #8CDB70
monochromatic
#482AA7 #623FCF #8A70DB #B2A1E7 #DAD2F4

Accessibility & contrast

On white

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

On black

5.42
#8A70DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70DB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70DB#FFFFFF#000000##000000
##8A70DB1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#4C7FD9
Tritanopia (blue-blind)
#76859B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a70db;
/* rgb */ color: rgb(138, 112, 219);
/* oklch */ color: oklch(61.9% 0.157 292.4);
Tailwind
colors: {
  custom: {
    50: '#b099e7',
    500: '#8a70db',
    950: '#000000',
  },
}
SCSS
$custom: #8a70db;
$custom-light: #b099e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70db",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 254.579,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61867,
    "c": 0.15734,
    "h": 292.4
  },
  "luminance": 0.22106
}

Semantic roles & 50–950 ramp

primary
#8A70DB
secondary
#DDE6C1
accent
#C71E9E
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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