#8870DA#8870DA

#8870DA is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.6% C 0.156 H 291.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8870DA
RGBrgb(136, 112, 218)
HSLhsl(254, 59%, 65%)
HSVhsv(254, 49%, 85%)
CMYKcmyk(37.6%, 48.6%, 0%, 14.5%)
CIE-LABlab(53.90, 33.74, -51.29)
CIE-LCHlch(53.90, 61.39, 303.34°)
OKLaboklab(61.63% 0.0574 -0.145)
OKLCHoklch(61.63% 0.156 291.6)
XYZxyz(28.5990, 21.8838, 69.0333)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8870DA #C2DA70
analogous
#708DDA #8870DA #BD70DA
triadic
#8870DA #DA8870 #70DA88
tetradic
#8870DA #DA708D #C2DA70 #70DABD
square
#8870DA #DA708D #C2DA70 #70DABD
split-complementary
#8870DA #DABD70 #8DDA70
monochromatic
#462BA5 #603FCD #8870DA #B0A1E7 #D9D1F3

Accessibility & contrast

On white

3.91
#8870DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8870DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8870DA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8870DA#FFFFFF#000000##000000
##8870DA1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8870da;
/* rgb */ color: rgb(136, 112, 218);
/* oklch */ color: oklch(61.6% 0.156 291.6);
Tailwind
colors: {
  custom: {
    50: '#ae99e6',
    500: '#8870da',
    950: '#000000',
  },
}
SCSS
$custom: #8870da;
$custom-light: #ae99e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8870da",
  "rgb": {
    "r": 136,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 253.585,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6163,
    "c": 0.15596,
    "h": 291.6
  },
  "luminance": 0.21885
}

Semantic roles & 50–950 ramp

primary
#8870DA
secondary
#DDE5C1
accent
#C71FA1
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8870DA

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

Preview Lab → · Contrast checker → · Palette generator →

#8870DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva