#8870CF#8870CF

#8870CF is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.0% C 0.141 H 293.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8870CF
RGBrgb(136, 112, 207)
HSLhsl(255, 50%, 63%)
HSVhsv(255, 46%, 81%)
CMYKcmyk(34.3%, 45.9%, 0%, 18.8%)
CIE-LABlab(53.31, 30.79, -46.01)
CIE-LCHlch(53.31, 55.36, 303.79°)
OKLaboklab(60.99% 0.0561 -0.1296)
OKLCHoklch(60.99% 0.141 293.4)
XYZxyz(27.2071, 21.3270, 61.7025)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8870CF #B7CF70
analogous
#7087CF #8870CF #B870CF
triadic
#8870CF #CF8870 #70CF88
tetradic
#8870CF #CF7087 #B7CF70 #70CFB8
square
#8870CF #CF7087 #B7CF70 #70CFB8
split-complementary
#8870CF #CFB870 #87CF70
monochromatic
#4A3193 #6242C0 #8870CF #AE9EDE #D4CCEE

Accessibility & contrast

On white

3.99
#8870CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8870CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8870CF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8870CF#FFFFFF#000000##000000
##8870CF1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D2
Deuteranopia (green-blind)
#547ECD
Tritanopia (blue-blind)
#778296
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8870cf;
/* rgb */ color: rgb(136, 112, 207);
/* oklch */ color: oklch(61.0% 0.141 293.4);
Tailwind
colors: {
  custom: {
    50: '#ae99de',
    500: '#8870cf',
    950: '#000000',
  },
}
SCSS
$custom: #8870cf;
$custom-light: #ae99de;
$custom-dark: #000000;
JSON
{
  "hex": "#8870cf",
  "rgb": {
    "r": 136,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 255.158,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60987,
    "c": 0.14119,
    "h": 293.4
  },
  "luminance": 0.21328
}

Semantic roles & 50–950 ramp

primary
#8870CF
secondary
#D6DFBC
accent
#BD2898
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8870CF

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

Preview Lab → · Contrast checker → · Palette generator →

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