#8872EB#8872EB

#8872EB is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.0% C 0.176 H 288.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8872EB
RGBrgb(136, 114, 235)
HSLhsl(251, 75%, 68%)
HSVhsv(251, 51%, 92%)
CMYKcmyk(42.1%, 51.5%, 0%, 7.8%)
CIE-LABlab(55.35, 37.25, -58.53)
CIE-LCHlch(55.35, 69.38, 302.47°)
OKLaboklab(63.02% 0.0563 -0.1662)
OKLCHoklch(63.02% 0.176 288.7)
XYZxyz(31.1618, 23.2659, 81.4300)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8872EB #D5EB72
analogous
#7298EB #8872EB #C472EB
triadic
#8872EB #EB8872 #72EB88
tetradic
#8872EB #EB7298 #D5EB72 #72EBC4
square
#8872EB #EB7298 #D5EB72 #72EBC4
split-complementary
#8872EB #EBC472 #98EB72
monochromatic
#3B1CC6 #5B3CE3 #8872EB #B5A8F3 #E2DDFA

Accessibility & contrast

On white

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

On black

5.65
#8872EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8872EB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8872EB#FFFFFF#000000##000000
##8872EB1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#3C82E8
Tritanopia (blue-blind)
#6B8BA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8872eb;
/* rgb */ color: rgb(136, 114, 235);
/* oklch */ color: oklch(63.0% 0.176 288.7);
Tailwind
colors: {
  custom: {
    50: '#b09bf2',
    500: '#8872eb',
    950: '#000000',
  },
}
SCSS
$custom: #8872eb;
$custom-light: #b09bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8872eb",
  "rgb": {
    "r": 136,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 250.909,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63023,
    "c": 0.17551,
    "h": 288.7
  },
  "luminance": 0.23267
}

Semantic roles & 50–950 ramp

primary
#8872EB
secondary
#E8EFCA
accent
#D70EB3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8872EB

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

Preview Lab → · Contrast checker → · Palette generator →

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