#8A70DA#8A70DA

#8A70DA is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.8% C 0.156 H 292.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A70DA
RGBrgb(138, 112, 218)
HSLhsl(255, 59%, 65%)
HSVhsv(255, 49%, 85%)
CMYKcmyk(36.7%, 48.6%, 0%, 14.5%)
CIE-LABlab(54.08, 34.24, -51.00)
CIE-LCHlch(54.08, 61.43, 303.88°)
OKLaboklab(61.81% 0.0598 -0.1441)
OKLCHoklch(61.81% 0.156 292.5)
XYZxyz(28.9270, 22.0529, 69.0486)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70DA #C0DA70
analogous
#708BDA #8A70DA #BF70DA
triadic
#8A70DA #DA8A70 #70DA8A
tetradic
#8A70DA #DA708B #C0DA70 #70DABF
square
#8A70DA #DA708B #C0DA70 #70DABF
split-complementary
#8A70DA #DABF70 #8BDA70
monochromatic
#492BA5 #623FCD #8A70DA #B2A1E7 #DAD1F3

Accessibility & contrast

On white

3.88
#8A70DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A70DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70DA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70DA#FFFFFF#000000##000000
##8A70DA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a70da;
/* rgb */ color: rgb(138, 112, 218);
/* oklch */ color: oklch(61.8% 0.156 292.5);
Tailwind
colors: {
  custom: {
    50: '#b099e6',
    500: '#8a70da',
    950: '#000000',
  },
}
SCSS
$custom: #8a70da;
$custom-light: #b099e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70da",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 254.717,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61808,
    "c": 0.15601,
    "h": 292.5
  },
  "luminance": 0.22054
}

Semantic roles & 50–950 ramp

primary
#8A70DA
secondary
#DCE5C1
accent
#C71F9D
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A70DA

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

Preview Lab → · Contrast checker → · Palette generator →

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