#8872EC#8872EC

#8872EC is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.1% C 0.177 H 288.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8872EC
RGBrgb(136, 114, 236)
HSLhsl(251, 76%, 69%)
HSVhsv(251, 52%, 93%)
CMYKcmyk(42.4%, 51.7%, 0%, 7.5%)
CIE-LABlab(55.40, 37.53, -58.99)
CIE-LCHlch(55.40, 69.92, 302.46°)
OKLaboklab(63.09% 0.0563 -0.1676)
OKLCHoklch(63.09% 0.177 288.6)
XYZxyz(31.3067, 23.3239, 82.1931)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8872EC #D6EC72
analogous
#7299EC #8872EC #C572EC
triadic
#8872EC #EC8872 #72EC88
tetradic
#8872EC #EC7299 #D6EC72 #72ECC5
square
#8872EC #EC7299 #D6EC72 #72ECC5
split-complementary
#8872EC #ECC572 #99EC72
monochromatic
#3A1BC9 #5A3CE5 #8872EC #B6A8F3 #E3DEFB

Accessibility & contrast

On white

3.71
#8872EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8872EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8872EC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8872EC#FFFFFF#000000##000000
##8872EC1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#3B82E9
Tritanopia (blue-blind)
#6B8CA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8872ec;
/* rgb */ color: rgb(136, 114, 236);
/* oklch */ color: oklch(63.1% 0.177 288.6);
Tailwind
colors: {
  custom: {
    50: '#b09bf3',
    500: '#8872ec',
    950: '#000000',
  },
}
SCSS
$custom: #8872ec;
$custom-light: #b09bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8872ec",
  "rgb": {
    "r": 136,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 250.82,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.17682,
    "h": 288.6
  },
  "luminance": 0.23325
}

Semantic roles & 50–950 ramp

primary
#8872EC
secondary
#E9EFCB
accent
#D80DB4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8872EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8872EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva