#8879EB#8879EB

#8879EB is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.2% C 0.166 H 286.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8879EB
RGBrgb(136, 121, 235)
HSLhsl(248, 74%, 70%)
HSVhsv(248, 49%, 92%)
CMYKcmyk(42.1%, 48.5%, 0%, 7.8%)
CIE-LABlab(56.98, 33.19, -55.91)
CIE-LCHlch(56.98, 65.02, 300.69°)
OKLaboklab(64.25% 0.0478 -0.1585)
OKLCHoklch(64.25% 0.166 286.8)
XYZxyz(31.9819, 24.9059, 81.7034)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8879EB #DCEB79
analogous
#79A3EB #8879EB #C179EB
triadic
#8879EB #EB8879 #79EB88
tetradic
#8879EB #EB79A3 #DCEB79 #79EBC1
square
#8879EB #EB79A3 #DCEB79 #79EBC1
split-complementary
#8879EB #EBC179 #A3EB79
monochromatic
#351ECB #5944E3 #8879EB #B7AEF3 #E7E4FB

Accessibility & contrast

On white

3.51
#8879EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8879EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8879EB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8879EB#FFFFFF#000000##000000
##8879EB1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CEF
Deuteranopia (green-blind)
#4886E8
Tritanopia (blue-blind)
#6B91A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8879eb;
/* rgb */ color: rgb(136, 121, 235);
/* oklch */ color: oklch(64.2% 0.166 286.8);
Tailwind
colors: {
  custom: {
    50: '#afa0f2',
    500: '#8879eb',
    950: '#000000',
  },
}
SCSS
$custom: #8879eb;
$custom-light: #afa0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8879eb",
  "rgb": {
    "r": 136,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 247.895,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64249,
    "c": 0.16559,
    "h": 286.8
  },
  "luminance": 0.24907
}

Semantic roles & 50–950 ramp

primary
#8879EB
secondary
#ECF0D0
accent
#D60FBC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8879EB

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

Preview Lab → · Contrast checker → · Palette generator →

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